Skip to content

Commit ffd781c

Browse files
committed
Add missing heads for arm in zstd
1 parent 65b2617 commit ffd781c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpython-unix/build-zstd.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ tar -xf zstd-${ZSTD_VERSION}.tar.gz
1515
pushd cpython-source-deps-zstd-${ZSTD_VERSION}/lib
1616

1717
if [ "${CC}" = "musl-clang" ]; then
18-
# In order to build the library with SSE2, BMI, and AVX2 intrinstics, we need musl-clang to find
18+
# In order to build the library with SSE2, BMI, AVX2, and ARM NEON intrinstics, we need musl-clang to find
1919
# headers that provide access to the intrinsics, as they are not provided by musl. These are
2020
# part of the include files that are part of clang. But musl-clang eliminates them from the
2121
# default include path. So copy them into place.
22-
for h in ${TOOLS_PATH}/${TOOLCHAIN}/lib/clang/*/include/*intrin.h ${TOOLS_PATH}/${TOOLCHAIN}/lib/clang/*/include/{__wmmintrin_aes.h,__wmmintrin_pclmul.h,emmintrin.h,immintrin.h,mm_malloc.h}; do
22+
for h in ${TOOLS_PATH}/${TOOLCHAIN}/lib/clang/*/include/*intrin.h ${TOOLS_PATH}/${TOOLCHAIN}/lib/clang/*/include/{__wmmintrin_aes.h,__wmmintrin_pclmul.h,emmintrin.h,immintrin.h,mm_malloc.h,arm_neon.h,arm_neon_sve_bridge.h,arm_bf16.h,arm_fp16.h,arm_acle.h}; do
2323
filename=$(basename "$h")
2424
if [ -e "${TOOLS_PATH}/host/include/${filename}" ]; then
2525
echo "warning: ${filename} already exists"

0 commit comments

Comments
 (0)