Skip to content
Merged
Show file tree
Hide file tree
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
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
- os: ubuntu-latest
arch: amd64
compiler: ldc-master
# - os: ubuntu-24.04-arm
# arch: arm64
# compiler: ldc-master
- os: ubuntu-24.04-arm
arch: arm64
compiler: ldc-master
- os: macos-latest
arch: arm64
compiler: dmd-latest
Expand Down
7 changes: 4 additions & 3 deletions dub.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@
"-P-I$PACKAGE_DIR/include"
],
"dflags-ldc": [
"--verrors-context"
"--verrors-context",
"-mcpu=native"
],
"dflags-dmd": [
"-verrors=context"
Expand All @@ -62,7 +63,7 @@
"curl -sLO https://raw.githubusercontent.com/jedisct1/ipcrypt2/refs/heads/main/src/ipcrypt2.c",
"curl -sLO https://raw.githubusercontent.com/jedisct1/ipcrypt2/refs/heads/main/src/include/ipcrypt2.h",
"mv ipcrypt2.h $PACKAGE_DIR/include/",
"gcc -std=c99 -O3 -fPIC -I$PACKAGE_DIR/include -c -o $PACKAGE_DIR/build/ipcrypt2.o $PACKAGE_DIR/ipcrypt2.c",
"gcc -march=native -flax-vector-conversions -std=c99 -O3 -fPIE -I$PACKAGE_DIR/include -c -o $PACKAGE_DIR/build/ipcrypt2.o $PACKAGE_DIR/ipcrypt2.c",
"ar rcs $PACKAGE_DIR/build/libipcrypt2.a $PACKAGE_DIR/build/ipcrypt2.o",
"rm $PACKAGE_DIR/build/ipcrypt2.o $PACKAGE_DIR/ipcrypt2.c"
],
Expand All @@ -71,7 +72,7 @@
"curl -sLO https://raw.githubusercontent.com/jedisct1/ipcrypt2/refs/heads/main/src/ipcrypt2.c",
"curl -sLO https://raw.githubusercontent.com/jedisct1/ipcrypt2/refs/heads/main/src/include/ipcrypt2.h",
"mv ipcrypt2.h $PACKAGE_DIR/include/",
"clang -std=c99 -O3 -fPIC -I$PACKAGE_DIR/include -c -o $PACKAGE_DIR/build/ipcrypt2.o $PACKAGE_DIR/ipcrypt2.c",
"clang -mcpu=native -std=c99 -O3 -fPIE -I$PACKAGE_DIR/include -c -o $PACKAGE_DIR/build/ipcrypt2.o $PACKAGE_DIR/ipcrypt2.c",
"ar rcs $PACKAGE_DIR/build/libipcrypt2.a $PACKAGE_DIR/build/ipcrypt2.o",
"rm $PACKAGE_DIR/build/ipcrypt2.o $PACKAGE_DIR/ipcrypt2.c"
],
Expand Down