diff options
author | Martin Ashby <martin@ashbysoft.com> | 2024-07-19 21:59:42 +0100 |
---|---|---|
committer | Martin Ashby <martin@ashbysoft.com> | 2024-07-19 21:59:42 +0100 |
commit | 6257db275bd9bb5794effaa9f7c4f5d6995024ce (patch) | |
tree | 75ab2b2ffba7e2d446c686ad5f7c2c67cde88c20 /deploy.sh | |
parent | 54b7021b063a81bc1655a6b4519b9a41cd6ed30b (diff) | |
download | mfashby.net-6257db275bd9bb5794effaa9f7c4f5d6995024ce.tar.gz mfashby.net-6257db275bd9bb5794effaa9f7c4f5d6995024ce.tar.bz2 mfashby.net-6257db275bd9bb5794effaa9f7c4f5d6995024ce.tar.xz mfashby.net-6257db275bd9bb5794effaa9f7c4f5d6995024ce.zip |
Convert to using pg.zig instead of wrapping libpq for postgresql access
Pure zig also means cross compilation works again!
Diffstat (limited to 'deploy.sh')
-rwxr-xr-x | deploy.sh | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -7,12 +7,10 @@ zig build # Build comments app pushd comments -if [ $(uname -m) != "aarch64" ] -then - echo "must build on aarch64 for now" - exit -fi -zig build -Doptimize=ReleaseSafe -Dcpu=baseline +zig build \ + -Doptimize=ReleaseSafe \ + -Dtarget=aarch64-linux-gnu \ + -Dcpu=baseline popd # Copy static site |