mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-07 22:30:13 -06:00
ci: Add script to repackage macOS SDKs
This commit is contained in:
8
.gitlab/ci/repackage/macos.sh
Executable file
8
.gitlab/ci/repackage/macos.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
sdkPath="$(xcrun --show-sdk-path)"
|
||||
sdkVers="$(xcrun --show-sdk-version)"
|
||||
|
||||
tar cjf "MacOSX${sdkVers}.sdk.tar.bz2" -C "${sdkPath%/*}" --no-fflags "MacOSX.sdk"
|
||||
Reference in New Issue
Block a user