mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
f78ea50255
commit
78e6390d0a
1 changed files with 9 additions and 9 deletions
|
@ -21,20 +21,20 @@ build:
|
||||||
linux:
|
linux:
|
||||||
gnu.org/gcc: '*'
|
gnu.org/gcc: '*'
|
||||||
freedesktop.org/pkg-config: '*'
|
freedesktop.org/pkg-config: '*'
|
||||||
script: |
|
script:
|
||||||
# clang doesn't like the -march=all flag
|
# clang doesn't like the -march=all flag
|
||||||
if test "{{hw.platform}}+{{hw.arch}}" = "linux+aarch64"; then
|
- run: sed -i -e 's/-march=all/-mcpu=generic/' Makefile.am Makefile.in
|
||||||
cd lib/accelerated/aarch64/
|
if: linux/aarch64
|
||||||
sed -i.bak -e 's/-march=all/-mcpu=generic/' Makefile.am Makefile.in
|
working-directory: lib/accelerated/aarch64/
|
||||||
rm Makefile.am.bak Makefile.in.bak
|
|
||||||
cd ../../..
|
|
||||||
fi
|
|
||||||
|
|
||||||
#FIXME: use similar logic to the one in openssl.org/x509_def.c to
|
#FIXME: use similar logic to the one in openssl.org/x509_def.c to
|
||||||
# locate {{deps.curl.se/ca-certs.prefix}}/ssl/cert.pem
|
# locate {{deps.curl.se/ca-certs.prefix}}/ssl/cert.pem
|
||||||
|
|
||||||
./configure --prefix={{ prefix }} --disable-guile
|
- ./configure --prefix={{ prefix }} --disable-guile
|
||||||
make --jobs {{ hw.concurrency }} install
|
- make --jobs {{ hw.concurrency }} install
|
||||||
|
env:
|
||||||
|
darwin:
|
||||||
|
CFLAGS: $CFLAGS -Wno-implicit-int
|
||||||
|
|
||||||
test: gnutls-cli --x509cafile={{deps.curl.se/ca-certs.prefix}}/ssl/cert.pem tea.xyz <<< "GET /"
|
test: gnutls-cli --x509cafile={{deps.curl.se/ca-certs.prefix}}/ssl/cert.pem tea.xyz <<< "GET /"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue