Skip to content

Commit 7d4d356

Browse files
committed
Enable the cfg stdarch_intel_sde to fix the segfault when running the tests under SDE
1 parent 79a6e4e commit 7d4d356

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/stdarch.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
- name: Install packages
3737
run: sudo apt-get install ninja-build ripgrep
3838

39+
# TODO: remove when we have binutils version 2.43 in the repo.
3940
- name: Install more recent binutils
4041
run: |
4142
echo "deb http://archive.ubuntu.com/ubuntu oracular main universe" | sudo tee /etc/apt/sources.list.d/oracular-copies.list
@@ -102,4 +103,5 @@ jobs:
102103
run: |
103104
# FIXME: these tests fail when the sysroot is compiled with LTO because of a missing symbol in proc-macro.
104105
# TODO: remove --skip test_mm512_stream_ps when stdarch is updated in rustc.
105-
STDARCH_TEST_EVERYTHING=1 CHANNEL=release CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER="${{ matrix.cargo_runner }}" TARGET=x86_64-unknown-linux-gnu CG_RUSTFLAGS="-Ainternal_features" ./y.sh cargo test --manifest-path build/build_sysroot/sysroot_src/library/stdarch/Cargo.toml -- --skip rtm --skip tbm --skip sse4a --skip test_mm512_stream_ps
106+
# TODO: remove --skip test_tile_ when it's implemented.
107+
STDARCH_TEST_EVERYTHING=1 CHANNEL=release CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER="${{ matrix.cargo_runner }}" TARGET=x86_64-unknown-linux-gnu CG_RUSTFLAGS="-Ainternal_features --cfg stdarch_intel_sde" ./y.sh cargo test --manifest-path build/build_sysroot/sysroot_src/library/stdarch/Cargo.toml -- --skip rtm --skip tbm --skip sse4a --skip test_mm512_stream_ps --skip test_tile_

0 commit comments

Comments
 (0)