Skip to content

Commit

Permalink
fix: append instead of rewrite
Browse files Browse the repository at this point in the history
  • Loading branch information
polvalente committed Jul 16, 2024
1 parent 49b702a commit 94bf014
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,44 +40,44 @@ BUILD_TARGET_FLAGS = -S cmake
# flags for xcode 15.4
ifeq ($(IREE_BUILD_TARGET), host)
else ifeq ($(IREE_BUILD_TARGET), ios)
BUILD_TARGET_FLAGS = \
BUILD_TARGET_FLAGS += \
-DCMAKE_SYSTEM_NAME=iOS\
-DCMAKE_OSX_DEPLOYMENT_TARGET=17.5\
-DCMAKE_OSX_ARCHITECTURES=arm64\
-DCMAKE_SYSTEM_PROCESSOR=arm64\
-DCMAKE_IOS_INSTALL_COMBINED=YES\
-DCMAKE_OSX_SYSROOT=$(shell xcodebuild -version -sdk iphoneos Path)
else ifeq ($(IREE_BUILD_TARGET), ios_simulator)
BUILD_TARGET_FLAGS = \
BUILD_TARGET_FLAGS += \
-DCMAKE_SYSTEM_NAME=iOS\
-DCMAKE_OSX_DEPLOYMENT_TARGET=17.5\
-DCMAKE_OSX_ARCHITECTURES=arm64\
-DCMAKE_SYSTEM_PROCESSOR=arm64\
-DCMAKE_IOS_INSTALL_COMBINED=YES\
-DCMAKE_OSX_SYSROOT=$(shell xcodebuild -version -sdk iphonesimulator Path)
else ifeq ($(IREE_BUILD_TARGET), visionos)
BUILD_TARGET_FLAGS = \
BUILD_TARGET_FLAGS += \
-DCMAKE_SYSTEM_NAME=visionOS\
-DCMAKE_OSX_DEPLOYMENT_TARGET=1.2\
-DCMAKE_OSX_ARCHITECTURES=arm64\
-DCMAKE_SYSTEM_PROCESSOR=arm64\
-DCMAKE_OSX_SYSROOT=$(shell xcodebuild -version -sdk xros Path)
else ifeq ($(IREE_BUILD_TARGET), visionos_simulator)
BUILD_TARGET_FLAGS = \
BUILD_TARGET_FLAGS += \
-DCMAKE_SYSTEM_NAME=visionOS\
-DCMAKE_OSX_DEPLOYMENT_TARGET=1.2\
-DCMAKE_OSX_ARCHITECTURES=arm64\
-DCMAKE_SYSTEM_PROCESSOR=arm64\
-DCMAKE_OSX_SYSROOT=$(shell xcodebuild -version -sdk xrsimulator Path)
else ifeq ($(IREE_BUILD_TARGET), tvos)
BUILD_TARGET_FLAGS = \
BUILD_TARGET_FLAGS += \
-DCMAKE_SYSTEM_NAME=tvOS\
-DCMAKE_OSX_DEPLOYMENT_TARGET=17.5\
-DCMAKE_OSX_ARCHITECTURES=arm64\
-DCMAKE_SYSTEM_PROCESSOR=arm64\
-DCMAKE_OSX_SYSROOT=$(shell xcodebuild -version -sdk appletvos Path)
else ifeq ($(IREE_BUILD_TARGET), tvos_simulator)
BUILD_TARGET_FLAGS = \
BUILD_TARGET_FLAGS += \
-DCMAKE_SYSTEM_NAME=tvOS\
-DCMAKE_OSX_DEPLOYMENT_TARGET=17.5\
-DCMAKE_OSX_ARCHITECTURES=arm64\
Expand Down

0 comments on commit 94bf014

Please sign in to comment.