summaryrefslogtreecommitdiffstats
path: root/github_macos_build.sh
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2022-09-28 20:03:18 -0700
committerGitHub <noreply@github.com>2022-09-28 20:03:18 -0700
commitb01d8db282f7971ade728e47a943585eae42f419 (patch)
tree166a01ba9eb96841ee058c2470f9aa26f9c331cd /github_macos_build.sh
parent3dce6e08dd74c6dfbfb8f553eaf18200a6bf6f2a (diff)
Fix build script for macos aarch64. (#2420)
* Fix build script for macos aarch64. * fix1 * Fix2. * update vs files Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'github_macos_build.sh')
-rw-r--r--github_macos_build.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/github_macos_build.sh b/github_macos_build.sh
index 2683c2304..cd986e70d 100644
--- a/github_macos_build.sh
+++ b/github_macos_build.sh
@@ -21,13 +21,13 @@ make config=${CONFIGURATION}_${ARCH} -j`sysctl -n hw.ncpu`
rm -rf ./bin
+ARCH="arm64"
# Create the makefile
./premake5 gmake --cc=${CC} --enable-xlib=false --enable-embed-stdlib=true --arch=${TARGETARCH} --deps=true --no-progress=true --skip-source-generation=true --deploy-slang-llvm=false --deploy-slang-glslang=false
-
+make config=${CONFIGURATION}_${TARGETARCH} -j`sysctl -n hw.ncpu`
else
# Create the makefile
./premake5 gmake --cc=${CC} --enable-xlib=false --enable-embed-stdlib=true --arch=${TARGETARCH} --deps=true --no-progress=true
-fi
-
# Build the configuration
-make config=${CONFIGURATION}_${TARGETARCH} -j`sysctl -n hw.ncpu` \ No newline at end of file
+make config=${CONFIGURATION}_${TARGETARCH} -j`sysctl -n hw.ncpu`
+fi