Skip to content

Commit 51f63c3

Browse files
committed
Update build_mac.sh
1 parent 4cfcd13 commit 51f63c3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

build_mac.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
22
LIB_NAME=sr-vulkan
3-
$TAG_NAME='v2.0.1'
3+
TAG_NAME='v2.0.1'
44
PACKAGE_PREFIX=${LIB_NAME}-${TAG_NAME}
55
PACKAGENAME=${PACKAGE_PREFIX}-macos
66

@@ -86,7 +86,6 @@ cmake -DCMAKE_BUILD_TYPE=Release \
8686
../src
8787

8888
cmake --build . -j4
89-
cp sr_vulkan.dylib sr_vulkan.so
9089
strip -x sr_vulkan.so
9190
cd ..
9291

@@ -109,12 +108,11 @@ cmake -DCMAKE_BUILD_TYPE=Release \
109108
-DVulkan_LIBRARY=$VULKAN_SDK/../MoltenVK/static/MoltenVK.xcframework/macos-arm64_x86_64/libMoltenVK.a \
110109
../src
111110
cmake --build . -j4
112-
cp sr_vulkan.dylib sr_vulkan.so
113111
strip -x sr_vulkan.so
114112

115113
# Package
116114
cd $oldPath
117115
mkdir -p $PACKAGENAME
118116
cp README.md LICENSE $PACKAGENAME
119117
lipo -create build/sr_vulkan.so build_arm64/sr_vulkan.so -o $PACKAGENAME/sr_vulkan.so
120-
cp -r sr_vulkan/models test $PACKAGENAME
118+

0 commit comments

Comments
 (0)