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 91
91
# Test targets compiled with extra features.
92
92
case ${TARGET} in
93
93
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} "
94
97
export STDARCH_DISABLE_ASSERT_INSTR=1
95
98
96
99
export RUSTFLAGS=" ${RUSTFLAGS} -C target-feature=+avx"
@@ -181,6 +184,15 @@ case "${TARGET}" in
181
184
--linker " ${CARGO_TARGET_AARCH64_BE_UNKNOWN_LINUX_GNU_LINKER} " \
182
185
--cxx-toolchain-dir " ${AARCH64_BE_TOOLCHAIN} "
183
186
;;
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
+ ;;
184
196
* )
185
197
;;
186
198
esac
You can’t perform that action at this time.
0 commit comments