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
4df56708
Commit
4df56708
authored
Feb 21, 2020
by
rusty1s
Browse files
windows
parent
f7eedf67
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
11 deletions
+8
-11
script/metis.sh
script/metis.sh
+8
-11
No files found.
script/metis.sh
View file @
4df56708
#!/bin/bash
#!/bin/bash
if
[
"
${
TRAVIS_OS_NAME
}
"
=
"windows"
]
;
then
choco
install
make
cmake
--help
fi
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
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
echo
"CONFIG"
make config
if
[
"
${
TRAVIS_OS_NAME
}
"
=
"windows"
]
;
then
echo
"MAKE"
make config
make
make
echo
"MAKE INSTALL"
sudo
make
install
sudo
make
install
else
./vsgen
fi
cd
..
cd
..
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