fix(gcc=11.4)[1]

looks like his patches mess up linux builds
This commit is contained in:
Jacob Heider 2023-05-30 19:12:47 -04:00
parent 3b5cb3392b
commit 1b4f16216c
No known key found for this signature in database
GPG key ID: A98011B5713535BF

View file

@ -30,14 +30,18 @@ build:
script:
# If we have a patch, apply it
- |
if test -n "$PATCH{{version.major}}{{version.minor}}"; then
curl "$PATCH{{version.major}}{{version.minor}}" | patch -p1 -d..
if test "{{hw.platform}}+{{hw.arch}}" = "darwin+aarch64"; then
if test -n "$PATCH{{version.major}}{{version.minor}}"; then
curl "$PATCH{{version.major}}{{version.minor}}" | patch -p1 -d..
fi
fi
# if there's no diff yet, unpack iains' source over ours
- |
if test -n "$BRANCH{{version.major}}{{version.minor}}"; then
curl -L "$BRANCH{{version.major}}{{version.minor}}" | tar xz --strip-components=1 -C ..
if test "{{hw.platform}}+{{hw.arch}}" = "darwin+aarch64"; then
if test -n "$BRANCH{{version.major}}{{version.minor}}"; then
curl -L "$BRANCH{{version.major}}{{version.minor}}" | tar xz --strip-components=1 -C ..
fi
fi
# The spaces mess things up in the env key