mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-13 09:49:11 +03:00
Merge pull request #2139 from rtfeldman/cpu-target
set cpu-target for maximal compatibility
This commit is contained in:
commit
4de5d36e94
@ -117,7 +117,7 @@ build-nightly-release:
|
||||
RUN git log --pretty=format:'%h' -n 1 >> version.txt
|
||||
RUN printf " on: " >> version.txt
|
||||
RUN date >> version.txt
|
||||
RUN RUSTFLAGS="-C target-cpu=x86-64-v2" cargo build --features with_sound --release
|
||||
RUN RUSTFLAGS="-C target-cpu=x86-64" cargo build --features with_sound --release
|
||||
RUN cd ./target/release && tar -czvf roc_linux_x86_64.tar.gz ./roc ../../LICENSE ../../LEGAL_DETAILS ../../examples/hello-world ../../examples/hello-rust ../../examples/hello-zig ../../compiler/builtins/bitcode/src/ ../../roc_std
|
||||
SAVE ARTIFACT ./target/release/roc_linux_x86_64.tar.gz AS LOCAL roc_linux_x86_64.tar.gz
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user