Skip to content

Commit

Permalink
Install gmp
Browse files Browse the repository at this point in the history
  • Loading branch information
mmghannam committed Oct 29, 2024
1 parent 0fe4811 commit 1f1d3c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y libblas-dev liblapack-dev
sudo apt-get install -y libblas-dev liblapack-dev libgmp-dev
- name: Test bundled
run: |
cargo b --features bundled -vv
Expand Down
4 changes: 2 additions & 2 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ fn main() -> Result<(), Box<dyn Error>> {
println!("cargo:rustc-link-lib=static=libscip");
#[cfg(not(windows))]
{
// println!("cargo:rustc-link-lib=static=gmp");
// println!("cargo:rustc-link-lib=static=gmpxx");
println!("cargo:rustc-link-lib=static=gmp");
println!("cargo:rustc-link-lib=static=gmpxx");
println!("cargo:rustc-link-lib=static=ipopt");
println!("cargo:rustc-link-lib=static=soplex");
println!("cargo:rustc-link-lib=static=z");
Expand Down

0 comments on commit 1f1d3c6

Please sign in to comment.