fix(librist)

closes #3228
This commit is contained in:
Jacob Heider 2023-09-05 14:24:24 -04:00
parent f4c6cb1572
commit 95ad8bea0b
No known key found for this signature in database
GPG key ID: A98011B5713535BF

View file

@ -12,10 +12,18 @@ build:
ninja-build.org: 1
working-directory:
build
script: |
meson .. --prefix={{prefix}} --libdir={{prefix}}/lib --buildtype=release
ninja -v
ninja install
script:
# POSIX compliance issue between the code and the environment
- run: |
if test "{{hw.platform}}" = "darwin"; then
sed -i.bak -e 's/generation = (buf\.st_mtim\.tv_sec << 32).*/generation = buf.st_mtime << 32;/' srp_shared.c
rm srp_shared.c.bak
fi
working-directory: ../tools
if: ^0.2.8
- meson .. --prefix={{prefix}} --libdir={{prefix}}/lib --buildtype=release
- ninja -v
- ninja install
env:
CC: clang