Skip to content

Commit

Permalink
update highs to v1.6.0, remove now unnecessary dependency to openmp
Browse files Browse the repository at this point in the history
  • Loading branch information
lovasoa committed Jan 1, 2024
1 parent 5b51d95 commit a4d5554
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
2 changes: 1 addition & 1 deletion HiGHS
Submodule HiGHS updated 164 files
6 changes: 0 additions & 6 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,6 @@ fn build() -> bool {
} else if linux {
println!("cargo:rustc-link-lib=dylib=stdc++");
}
if apple {
println!("cargo:rustc-link-lib=dylib=omp");
} else if !windows {
// No openmp 3 on windows
println!("cargo:rustc-link-lib=dylib=gomp");
}
println!("cargo:rerun-if-changed=HiGHS/src/interfaces/highs_c_api.h");

true
Expand Down
7 changes: 3 additions & 4 deletions install-dependencies.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
set -x
if test -x "$(which apt-get)"; then
sudo apt-get install libstdc++6 libgomp1 cmake
sudo apt-get install libstdc++6 cmake
elif test -x "$(which dnf)"; then
sudo dnf install libstdc++ libgomp cmake
sudo dnf install libstdc++ cmake
elif test -x "$(which brew)"; then
brew install libomp cmake
brew link --force libomp
brew install cmake
else
echo "system not supported"
exit 1
Expand Down

0 comments on commit a4d5554

Please sign in to comment.