Skip to content

Commit

Permalink
weird
Browse files Browse the repository at this point in the history
  • Loading branch information
jhheider committed Jan 17, 2023
1 parent 85aefe9 commit 19dca48
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion projects/ziglang.org/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ versions:
github: ziglang/zig/tags

build:
cores: 8
dependencies:
cmake.org: '>=2.8.12'
llvm.org: ^15 # v0.10.0
Expand All @@ -22,6 +21,16 @@ build:
cd build
cmake .. $ARGS
make install
# codesign -v --sign - --force --preserve-metadata=entitlements,requirements,flags,runtime /opt/ziglang.org/v0.10.0/bin/zig
# /Applications/Xcode_13.2.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate: fatal error: file not in an order that can be processed (function starts data out of place): /opt/ziglang.org/v0.10.0/bin/zig
# /opt/ziglang.org/v0.10.0/bin/zig: the codesign_allocate helper tool cannot be found or used
if test "{{hw.platform}}/{{hw.arch}}" = "darwin/x86-64"; then
command -v sudo && SUDO=sudo
$SUDO xcode-select -s /Library/Developer/CommandLineTools
codesign -v --sign - --force --preserve-metadata=entitlements,requirements,flags,runtime {{prefix}}/bin/zig
fi
env:
ARGS:
- -DCMAKE_INSTALL_PREFIX="{{prefix}}"
Expand Down

0 comments on commit 19dca48

Please sign in to comment.