File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 5353 CARGO_TARGET_DIR : ${{ github.workspace }}\cargo_build
5454 CIBW_ARCHS_WINDOWS : native
5555 CIBW_BUILD_VERBOSITY : " 1"
56- CIBW_ENVIRONMENT : ' RUST_BACKTRACE=full SCALIB_AVX2=1'
56+ # add RUSTFLAGS so that deps build with avx2, needed due to likely bug in setuptools_rust
57+ CIBW_ENVIRONMENT : ' RUST_BACKTRACE=full SCALIB_AVX2=1 RUSTFLAGS="-C target-feature=+avx2"'
5758 CIBW_BUILD : " cp37-win_amd64"
5859 # I don't know how to make both normal and doctring tests
5960 # work with only one command, so I use shell &&.
7778 # CIBW_MANYLINUX_X86_64_IMAGE: "ghcr.io/simple-crypto/manylinux2014_x86_64:rust-1.51.0"
7879 CIBW_MANYLINUX_X86_64_IMAGE : " ghcr.io/simple-crypto/manylinux2014_x86_64-clang:rust-1.60.0"
7980 CIBW_BUILD_VERBOSITY : " 1"
80- CIBW_ENVIRONMENT : ' RUST_BACKTRACE=full CARGO_TARGET_DIR=/host${{ github.workspace }}/cargo_build CARGO_HOME=/host${{ github.workspace }}/cargo_home SCALIB_AVX2=1'
81+ # add RUSTFLAGS so that deps build with avx2, needed due to likely bug in setuptools_rust
82+ CIBW_ENVIRONMENT : ' RUST_BACKTRACE=full CARGO_TARGET_DIR=/host${{ github.workspace }}/cargo_build CARGO_HOME=/host${{ github.workspace }}/cargo_home SCALIB_AVX2=1 RUSTFLAGS="-C target-feature=+avx2"'
8183 CIBW_BUILD : " cp37-manylinux_x86_64*"
8284 # I don't know how to make both normal and doctring tests work with only one command,
8385 # so I use shell &&.
Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ Changelog
55Not released
66------------
77
8+ v0.4.2 (2022/05/31)
9+ -------------------
10+
11+ * Fix AVX2 not used when building rust dependencies.
12+
813v0.4.1 (2022/05/31)
914-------------------
1015
You can’t perform that action at this time.
0 commit comments