Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
torch-sparse
Commits
f63df098
Commit
f63df098
authored
Jun 17, 2021
by
rusty1s
Browse files
build metis
parent
663fbf80
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
.github/workflows/metis-Windows.sh
.github/workflows/metis-Windows.sh
+5
-5
.github/workflows/metis.sh
.github/workflows/metis.sh
+5
-5
No files found.
.github/workflows/metis-Windows.sh
View file @
f63df098
...
@@ -2,10 +2,10 @@
...
@@ -2,10 +2,10 @@
METIS
=
metis-5.1.0
METIS
=
metis-5.1.0
wget
-nv
http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/
${
METIS
}
.tar.gz
curl
-k
-L
"
http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/
${
METIS
}
.tar.gz
"
--output
"
${
METIS
}
.tar.gz"
tar
-xvzf
${
METIS
}
.tar.gz
tar
-xvzf
"
${
METIS
}
.tar.gz
"
rm
-f
${
METIS
}
.tar.gz
rm
-f
"
${
METIS
}
.tar.gz
"
cd
${
METIS
}
||
exit
cd
"
${
METIS
}
"
||
exit
sed
-i
.bak
-e
's/IDXTYPEWIDTH 32/IDXTYPEWIDTH 64/g'
include/metis.h
sed
-i
.bak
-e
's/IDXTYPEWIDTH 32/IDXTYPEWIDTH 64/g'
include/metis.h
# Fix GKlib on Windows: https://github.com/jlblancoc/suitesparse-metis-for-windows/issues/6
# Fix GKlib on Windows: https://github.com/jlblancoc/suitesparse-metis-for-windows/issues/6
...
@@ -18,4 +18,4 @@ cmake --build . --config "Release" --target ALL_BUILD
...
@@ -18,4 +18,4 @@ cmake --build . --config "Release" --target ALL_BUILD
cp
libmetis/Release/metis.lib /c/Program
\
Files
\ \(
x86
\)
/Microsoft
\
Visual
\
Studio/2017/BuildTools/VC/Tools/MSVC/14.16.27023/lib/x64
cp
libmetis/Release/metis.lib /c/Program
\
Files
\ \(
x86
\)
/Microsoft
\
Visual
\
Studio/2017/BuildTools/VC/Tools/MSVC/14.16.27023/lib/x64
cp
../include/metis.h /c/Program
\
Files
\ \(
x86
\)
/Microsoft
\
Visual
\
Studio/2017/BuildTools/VC/Tools/MSVC/14.16.27023/include
cp
../include/metis.h /c/Program
\
Files
\ \(
x86
\)
/Microsoft
\
Visual
\
Studio/2017/BuildTools/VC/Tools/MSVC/14.16.27023/include
rm
-f
${
METIS
}
rm
-f
"
${
METIS
}
"
.github/workflows/metis.sh
View file @
f63df098
...
@@ -2,14 +2,14 @@
...
@@ -2,14 +2,14 @@
METIS
=
metis-5.1.0
METIS
=
metis-5.1.0
wget
-nv
http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/
${
METIS
}
.tar.gz
wget
-nv
"
http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/
${
METIS
}
.tar.gz
"
tar
-xvzf
${
METIS
}
.tar.gz
tar
-xvzf
"
${
METIS
}
.tar.gz
"
rm
-f
${
METIS
}
.tar.gz
rm
-f
"
${
METIS
}
.tar.gz
"
cd
${
METIS
}
||
exit
cd
"
${
METIS
}
"
||
exit
sed
-i
.bak
-e
's/IDXTYPEWIDTH 32/IDXTYPEWIDTH 64/g'
include/metis.h
sed
-i
.bak
-e
's/IDXTYPEWIDTH 32/IDXTYPEWIDTH 64/g'
include/metis.h
make config
make config
make
make
sudo
make
install
sudo
make
install
rm
-f
${
METIS
}
rm
-f
"
${
METIS
}
"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment