9e3f75255e
update inkwell. Closes #67
2021-12-25 22:17:06 +08:00
d2ffdeeb47
flake: update nixpkgs and work around openssh cross compilation breakage. Closes #123
2021-12-08 21:21:37 +08:00
ae902aac2f
remove devshell inputs from hydraJobs
...
We are not recompiling packages that depend on LLVM anymore, llvm-nac3 is only used for static linking within NAC3.
2021-12-08 17:43:05 +08:00
3f73896477
remove a small amount of LLVM bloat
...
Also avoids libffi.dll dependency on Windows.
2021-12-08 17:41:34 +08:00
ddb4c548ae
add and use local copy of LLVM Nix files
...
Modifications accumulate and many are not suitable for nixpkgs upstream.
Based on nixpkgs 3f629e3dd5293bd3c211c4950c418f7cfb4501af
2021-12-08 16:55:25 +08:00
baa713a3ca
flake: don't attempt to fixup Windows build
2021-12-05 14:40:10 +08:00
d2919b9620
Revert "flake: better shells"
...
llvm-config/llvm-sys hates pkgs.buildEnv.
This reverts commit e4f35372d3
.
2021-12-05 14:35:58 +08:00
9ee2168932
Revert "flake: fix hydraJobs"
...
This reverts commit e8e1499478
.
2021-12-05 14:35:58 +08:00
e8e1499478
flake: fix hydraJobs
2021-12-05 13:03:44 +08:00
e4f35372d3
flake: better shells
2021-12-05 12:56:47 +08:00
0ae2aae645
flake: publish zipfile with Windows Python module on Hydra
2021-12-02 22:47:35 +08:00
b0eb7815da
flake: consistent naming
2021-12-02 22:37:41 +08:00
26e60fca6e
flake: cleanup tarball unpacking
2021-12-02 22:37:32 +08:00
22a509e7ce
flake: add Hydra job for Windows build
...
This is a proof-of-concept; it works but requires manual fiddling with DLLs
(e.g. copy them from the Nix store into the Windows environment), and LLD
is not available on Windows.
2021-12-02 22:29:44 +08:00
6315027a8b
flake: use *.pyd for Windows Python module
2021-12-02 22:24:23 +08:00
c0f8d5c602
flake: Windows libs working
2021-12-02 22:01:19 +08:00
998f49261d
flake: fix Windows libs further
2021-12-02 21:02:48 +08:00
aab43b1c07
flake: unbreak Windows library link (WIP)
2021-12-02 20:00:50 +08:00
a6275fbb57
flake: add libffi on Windows
2021-12-02 19:08:20 +08:00
8a46032f4c
flake: unbreak llvm-config for cross-compilation of static libs
2021-12-02 18:46:04 +08:00
31fba04cee
flake: fix Windows build, now finding LLVM and Python
2021-12-01 18:30:26 +08:00
701ca36e99
flake: windows build WIP
2021-11-26 17:26:18 +08:00
5e1b0a10a0
flake: patch nixpkgs to fix mingw llvm_12 build
2021-11-26 17:01:44 +08:00
9f316a3294
flake: revert nixpkgs to unbreak rust cross-compilation
2021-11-26 17:00:20 +08:00
970f075490
flake: switch to nixpkgs 21.11 release
2021-11-23 11:22:08 +08:00
aa84fefa56
fix previous commit (again)
2021-11-12 15:47:21 +08:00
5ad7aa5a93
flake: fix previous commit
2021-11-12 15:37:39 +08:00
b64d2399f2
flake: build devShell dependencies on Hydra
2021-11-12 15:08:24 +08:00
4aeea87702
flake: export nixpkgs-patched
2021-11-12 14:57:46 +08:00
4547eee82a
llvm: switch RISC-V ABI when FPU is present
...
Patch is a bit of a hack and ignores 64-bit CPUs.
Also only build the LLVM targets we need.
2021-11-11 23:42:32 +08:00
7d66195eae
nac3artiq: embed linker script, put intermediate objects in temp dir
2021-11-06 13:04:00 +08:00
36e4028f5b
fix and run parser tests
2021-11-03 17:39:48 +08:00
bf7e2c295a
integrate nac3parser
2021-11-03 17:11:00 +08:00
ee2c0d8bab
flake: add cargo-insta to dev shell
2021-11-02 18:13:59 +08:00
0d1e9262af
flake: update cargoSha256
2021-11-02 15:17:10 +08:00
624dfe8cd1
upgrade to LLVM 12
2021-11-02 14:00:20 +08:00
c5bcd352a5
flake: add hydraJobs
2021-10-08 08:18:42 +08:00
79d3c5caae
switch to Nix flakes
2021-10-08 00:04:22 +08:00