File tree Expand file tree Collapse file tree 2 files changed +158434
-0
lines changed Expand file tree Collapse file tree 2 files changed +158434
-0
lines changed Original file line number Diff line number Diff line change 9191# Test targets compiled with extra features.
9292case ${TARGET} in
9393 x86_64-unknown-linux-gnu)
94+ TEST_CPPFLAGS=" -fuse-ld=lld -I/usr/include/x86_64-linux-gnu/"
95+ TEST_CXX_COMPILER=" clang++-19"
96+ TEST_RUNNER=" ${CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER} "
9497 export STDARCH_DISABLE_ASSERT_INSTR=1
9598
9699 export RUSTFLAGS=" ${RUSTFLAGS} -C target-feature=+avx"
@@ -181,6 +184,15 @@ case "${TARGET}" in
181184 --linker " ${CARGO_TARGET_AARCH64_BE_UNKNOWN_LINUX_GNU_LINKER} " \
182185 --cxx-toolchain-dir " ${AARCH64_BE_TOOLCHAIN} "
183186 ;;
187+
188+ x86_64-unknown-linux-gnu* )
189+ CPPFLAGS=" ${TEST_CPPFLAGS} " RUSTFLAGS=" ${HOST_RUSTFLAGS} " RUST_LOG=warn \
190+ cargo run " ${INTRINSIC_TEST} " " ${PROFILE} " \
191+ --bin intrinsic-test -- intrinsics_data/x86-intel.xml \
192+ --runner " ${TEST_RUNNER} " \
193+ --cppcompiler " ${TEST_CXX_COMPILER} " \
194+ --target " ${TARGET} "
195+ ;;
184196 * )
185197 ;;
186198esac
You can’t perform that action at this time.
0 commit comments