Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion projects/github.com/chrchang/plink-ng/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,17 @@ build:
{ print }
' "$f" > "$f.new" && mv "$f.new" "$f"
fi
# NOLAPACK uses fabs without <cmath>. Anchor on <string.h>: a.6.x has no
# <algorithm> include, so that anchor silently matched nothing there.
- run:
- if ! grep -q cmath plink2_base.h; then
- sed -i -f $PROP plink2_base.h
- grep -q '^#include <cmath>' plink2_base.h
- fi
if: linux/x86-64
working-directory: ../include
prop: |
/<algorithm>/a #include <cmath>
/^#include <string.h>/a #include <cmath>
# gcc 16 dropped the evex512 target attribute; a.6.x vendors a libdeflate
# that still emits it (fixed upstream in ebiggers/libdeflate@2a3762cf)
- run:
Expand Down
Loading