mirror of
https://github.com/ivabus/pantry
synced 2024-11-30 04:05:06 +03:00
4b85e66fea
not building shared on linux
47 lines
1.1 KiB
YAML
47 lines
1.1 KiB
YAML
distributable:
|
|
url: https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-{{version}}.tar.bz2
|
|
strip-components: 1
|
|
|
|
versions:
|
|
url: https://gnupg.org/ftp/gcrypt/libgcrypt/
|
|
match: /libgcrypt-(\d+\.\d+(\.\d+)?)\.tar\.bz2/
|
|
strip:
|
|
- /libgcrypt-/
|
|
- /.tar.bz2/
|
|
|
|
provides:
|
|
- bin/dumpsexp
|
|
- bin/hmac256
|
|
- bin/libgcrypt-config
|
|
- bin/mpicalc
|
|
|
|
build:
|
|
dependencies:
|
|
gnupg.org/libgpg-error: 1
|
|
darwinsys.com/file: '*' # needed for configure to build dylibs
|
|
linux:
|
|
llvm.org: <17 # symbol not defined
|
|
script:
|
|
- ./configure $ARGS
|
|
- make
|
|
- make check
|
|
- make install
|
|
env:
|
|
CC: clang
|
|
CXX: clang++
|
|
ARGS:
|
|
- --prefix={{prefix}}
|
|
- --enable-static
|
|
- --enable-shared
|
|
linux:
|
|
LD: ld.lld
|
|
linux/x86-64:
|
|
ARGS:
|
|
# basic.c:317:16: error: inline assembly requires more registers than available
|
|
# asm volatile("movdqu %[data0], %%xmm0\n"
|
|
- --disable-asm
|
|
|
|
test:
|
|
script: |
|
|
OUT=$(echo foo | hmac256 -)
|
|
test "$OUT" = "9619c032ccc62b07274634a032c322580848455327d4a9aa3d323702673cf2a2"
|