Skip to content

Commit

Permalink
adjs
Browse files Browse the repository at this point in the history
  • Loading branch information
carueda committed Jul 30, 2024
1 parent 06f5f13 commit 12e1eaf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

- name: Build macos
run: |
CC=gcc cargo build --verbose --release
CC=gcc-14 cargo build --verbose --release
cd target/release/
zip "${{github.workspace}}/ecoz2rs-macos.zip" ecoz2
Expand Down
8 changes: 3 additions & 5 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,14 @@ fn main() {
let mut build = cc::Build::new();

for f in flags {
build = build.flag(f).to_owned();
build.flag(f);
}

for f in flags_if_supported {
build = build.flag(f).to_owned();
build.flag(f);
}

for f in headers {
build = build.include(f).to_owned();
}
build.includes(headers);

build.flag(&std::env::var("DEP_OPENMP_FLAG").unwrap());

Expand Down
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ clippy:
cargo clippy --no-deps

# Build release
release:
build:
cargo build --release

# Build release with RUSTFLAGS="-C target-cpu=native"
Expand Down

0 comments on commit 12e1eaf

Please sign in to comment.