Skip to content

Commit 87eb13e

Browse files
committed
fix osx-arm64
1 parent 5c046fb commit 87eb13e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

recipe/build.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ if [[ $target_platform == "osx-arm64" ]]; then
1616
# currently cannot properly detect long double format
1717
# on osx-arm64 when cross-compiling in QEMU, see
1818
# https://github.com/numpy/numpy/pull/24414
19-
echo "[properties]" >> ${CONDA_PREFIX}/meson_cross_file.txt
20-
echo "longdouble_format = 'IEEE_DOUBLE_LE'" >> ${CONDA_PREFIX}/meson_cross_file.txt
19+
sed -i.bak "s@\[properties\]@[properties]\nlongdouble_format = 'IEEE_DOUBLE_LE'@g" ${CONDA_PREFIX}/meson_cross_file.txt
2120
fi
2221

2322
# meson-python already sets up a -Dbuildtype=release argument to meson, so

0 commit comments

Comments
 (0)