File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -27,13 +27,15 @@ build universal:
2727 - install_name_tool -add_rpath @executable_path $BINARY_NAME-arm64
2828 - install_name_tool -add_rpath /opt/homebrew/opt/libolm/lib $BINARY_NAME-arm64
2929 - install_name_tool -add_rpath /usr/local/opt/libolm/lib $BINARY_NAME-arm64
30+ - install_name_tool -add_rpath /usr/local/lib $BINARY_NAME-arm64
3031 # Build amd64 binary
3132 - MACOSX_DEPLOYMENT_TARGET=10.13 LIBRARY_PATH=/usr/local/lib CGO_ENABLED=1 GOARCH=amd64 go build -ldflags "$GO_LDFLAGS" -o $BINARY_NAME-amd64
32- - install_name_tool -change /usr/local/opt/libolm/ lib/libolm.3.dylib @rpath/libolm.3.dylib $BINARY_NAME-amd64
33+ - install_name_tool -change /usr/local/lib/libolm.3.dylib @rpath/libolm.3.dylib $BINARY_NAME-amd64
3334 - install_name_tool -add_rpath @executable_path $BINARY_NAME-amd64
3435 - install_name_tool -add_rpath /usr/local/opt/libolm/lib $BINARY_NAME-amd64
36+ - install_name_tool -add_rpath /usr/local/lib $BINARY_NAME-amd64
3537 # Create universal libolm and bridge binary
36- - lipo -create -output libolm.3.dylib /opt/homebrew/opt/libolm/lib/libolm.3.dylib /usr/local/opt/libolm/ lib/libolm.3.dylib
38+ - lipo -create -output libolm.3.dylib /opt/homebrew/opt/libolm/lib/libolm.3.dylib /usr/local/lib/libolm.3.dylib
3739 - lipo -create -output $BINARY_NAME $BINARY_NAME-arm64 $BINARY_NAME-amd64
3840 artifacts :
3941 paths :
You can’t perform that action at this time.
0 commit comments