From b01d8db282f7971ade728e47a943585eae42f419 Mon Sep 17 00:00:00 2001 From: Yong He Date: Wed, 28 Sep 2022 20:03:18 -0700 Subject: Fix build script for macos aarch64. (#2420) * Fix build script for macos aarch64. * fix1 * Fix2. * update vs files Co-authored-by: Yong He --- github_macos_build.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'github_macos_build.sh') 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 -- cgit v1.2.3