Skip to content

Commit c62f373

Browse files
committed
Build ios
Former-commit-id: d99f3bf
1 parent ea84d13 commit c62f373

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

command/build_ios.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,16 @@ download_and_unzip "$MNN_IOS_URL" "$MACOS_CACHE" "MNN.framework"
7676
# Download and unzip OpenCV iOS package
7777
download_and_unzip "$OPENCV_IOS_URL" "$MACOS_CACHE" "opencv2.framework"
7878

79+
if [ -n "$VERSION" ]; then
80+
TAG="-$VERSION"
81+
else
82+
TAG=""
83+
fi
84+
7985

8086
TOOLCHAIN="$PWD/toolchain/ios.toolchain.cmake"
8187

82-
BUILD_DIR="build/inspireface-ios"
88+
BUILD_DIR="build/inspireface-ios$TAG"
8389

8490
mkdir -p "$BUILD_DIR"
8591

0 commit comments

Comments
 (0)