wrk: broken on ppc32 and move it where xbps-src can see it
This commit is contained in:
parent
cbc25b0173
commit
b635e4d9b0
1 changed files with 7 additions and 3 deletions
|
@ -14,11 +14,15 @@ distfiles="https://github.com/wg/wrk/archive/${version}.tar.gz"
|
|||
checksum=6fa1020494de8c337913fd139d7aa1acb9a020de6f7eb9190753aa4b1e74271e
|
||||
patch_args="-Np1"
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
ppc64*) ;;
|
||||
ppc*|mips*)
|
||||
broken="__sync_fetch_and_add_8 and __sync_val_compare_and_swap_8 supported on $XBPS_TARGET_MACHINE"
|
||||
;;
|
||||
esac
|
||||
|
||||
pre_build() {
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
mips*)
|
||||
broken="__sync_fetch_and_add_8 and __sync_val_compare_and_swap_8 supported on $XBPS_TARGET_MACHINE"
|
||||
;;
|
||||
aarch64*)
|
||||
make obj
|
||||
luajit -b -a arm64 src/wrk.lua obj/bytecode.o
|
||||
|
|
Loading…
Reference in a new issue