Commit 809369f7 authored by Isuru Fernando's avatar Isuru Fernando
Browse files

chown BUILD_PREFIX

parent dd0c83f7
...@@ -288,7 +288,8 @@ function run_command_universal2 { ...@@ -288,7 +288,8 @@ function run_command_universal2 {
fi fi
if [[ "${PLAT:-}" == "universal2" || "${PLAT:-}" == "arm64" ]]; then if [[ "${PLAT:-}" == "universal2" || "${PLAT:-}" == "arm64" ]]; then
export BUILD_PREFIX=/opt/arm64-builds export BUILD_PREFIX=/opt/arm64-builds
mkdir -p $BUILD_PREFIX || sudo mkdir -p $BUILD_PREFIX sudo mkdir -p $BUILD_PREFIX
sudo chown -R $USER:$USER $BUILD_PREFIX
export _PYTHON_HOST_PLATFORM="macosx-11.0-arm64" export _PYTHON_HOST_PLATFORM="macosx-11.0-arm64"
export CFLAGS+=" -arch arm64 -I$BUILD_PREFIX/include" export CFLAGS+=" -arch arm64 -I$BUILD_PREFIX/include"
export CXXFLAGS+=" -arch arm64 -I$BUILD_PREFIX/include" export CXXFLAGS+=" -arch arm64 -I$BUILD_PREFIX/include"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment