compat.sh: build without coverage instrumentation, like install.sh
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bee62ed parent: d7f2df6 modified
scripts/compat.sh +2 -1 | @@ -36,7 +36,8 @@ is_cached() { [[ -d "$HUB/models--${1//\//--}" ]]; } | ||
| 36 | 36 | if [[ "$(uname)" == "Darwin" ]]; then |
| 37 | 37 | if [[ -z "${RZB_BIN:-}" ]]; then # incremental: never test a stale binary |
| 38 | 38 | xcodebuild build -scheme razorbill -destination 'platform=macOS' -configuration Release \ |
| 39 | - -derivedDataPath .build/xcode -skipPackagePluginValidation -skipMacroValidation -quiet | |
| 39 | + -derivedDataPath .build/xcode -skipPackagePluginValidation -skipMacroValidation -quiet \ | |
| 40 | + CLANG_ENABLE_CODE_COVERAGE=NO CLANG_COVERAGE_MAPPING=NO # same settings as install.sh | |
| 40 | 41 | RZB_BIN=.build/xcode/Build/Products/Release/rzb |
| 41 | 42 | fi |
| 42 | 43 | for model in "$RZB_COMPAT_CHAT_SOURCE" "$RZB_COMPAT_EMBED_SOURCE"; do |
| @@ -36,7 +36,8 @@ is_cached() { [[ -d "$HUB/models--${1//\//--}" ]]; } | |||
| 36 | if [[ "$(uname)" == "Darwin" ]]; then | 36 | if [[ "$(uname)" == "Darwin" ]]; then |
| 37 | if [[ -z "${RZB_BIN:-}" ]]; then # incremental: never test a stale binary | 37 | if [[ -z "${RZB_BIN:-}" ]]; then # incremental: never test a stale binary |
| 38 | xcodebuild build -scheme razorbill -destination 'platform=macOS' -configuration Release \ | 38 | xcodebuild build -scheme razorbill -destination 'platform=macOS' -configuration Release \ |
| 39 | - -derivedDataPath .build/xcode -skipPackagePluginValidation -skipMacroValidation -quiet | 39 | + -derivedDataPath .build/xcode -skipPackagePluginValidation -skipMacroValidation -quiet \ |
| 40 | + CLANG_ENABLE_CODE_COVERAGE=NO CLANG_COVERAGE_MAPPING=NO # same settings as install.sh | ||
| 40 | RZB_BIN=.build/xcode/Build/Products/Release/rzb | 41 | RZB_BIN=.build/xcode/Build/Products/Release/rzb |
| 41 | fi | 42 | fi |
| 42 | for model in "$RZB_COMPAT_CHAT_SOURCE" "$RZB_COMPAT_EMBED_SOURCE"; do | 43 | for model in "$RZB_COMPAT_CHAT_SOURCE" "$RZB_COMPAT_EMBED_SOURCE"; do |