Sebastien Bourdeauducq
837aaa95f1
flake: contain sipyco to nac3artiq-profile
2022-04-19 10:34:55 +08:00
Sebastien Bourdeauducq
a19e9c0bec
flake: provide llvm-as for IRRT
...
clang already depends on llvmPackages_13.llvm, so, unlike the statically-linked tools
from llvm-nac3, this does not make the bloat even worse.
2022-04-19 10:23:41 +08:00
Sebastien Bourdeauducq
42d1aad507
flake: add PGO build to Hydra
2022-04-18 23:58:43 +08:00
Sebastien Bourdeauducq
2777a6e05f
flake: use nac3devices example for PGO
2022-04-18 23:57:57 +08:00
Sebastien Bourdeauducq
85f21060e4
update to LLVM 14
2022-04-18 18:47:20 +08:00
David Nadlinger
879c66cccf
flake.nix: Fix outdated nixConfig keys
...
The old syntax seems to be silently ignored on (at least)
Nix 2.7.0.
2022-04-13 21:21:18 +01:00
Sebastien Bourdeauducq
8209c0a475
windows: create MSYS2 package
2022-04-04 14:24:47 +08:00
Sebastien Bourdeauducq
edd039abdc
windows: build LLD
2022-03-27 18:41:23 +08:00
Sebastien Bourdeauducq
de4320eefb
improve package names
2022-03-26 15:15:59 +08:00
Sebastien Bourdeauducq
a380cd5010
move all Nix files to one folder
2022-03-26 15:13:43 +08:00
Sebastien Bourdeauducq
6d9b3abcd7
nicer MSYS2 development shell
2022-03-22 22:14:46 +08:00
Sebastien Bourdeauducq
03f5b80153
windows: add nac3artiq derivation (WIP)
2022-03-22 19:19:06 +08:00
Sebastien Bourdeauducq
eb6ceefdcd
build LLVM with Wine + MSYS2
2022-03-22 18:03:25 +08:00
Sebastien Bourdeauducq
343f6fd067
update dependencies
2022-02-13 10:51:03 +08:00
Sebastien Bourdeauducq
f5ce7376e3
flake: fix Windows build
2022-02-05 16:53:47 +08:00
Sebastien Bourdeauducq
e891683f2e
flake: hack-link libstdc++ statically on Windows. Closes #175
2022-01-24 16:54:05 +08:00
Sebastien Bourdeauducq
465514ca7a
flake: fix mcfgthread filename
2022-01-24 15:52:04 +08:00
Sebastien Bourdeauducq
9c34dd9c80
flake: distribute mcfgthreads-12.dll on hydra
2022-01-24 15:49:32 +08:00
Sebastien Bourdeauducq
ba997ae094
flake: run nac3standalone demo checks
...
also keep auxiliary projects in separate Nix outputs
2022-01-23 11:32:34 +08:00
Sebastien Bourdeauducq
9c20e84c84
flake: fix/cleanup
2022-01-09 11:30:36 +08:00
Sebastien Bourdeauducq
b88f17ed42
switch to clang-unwrapped, build IRRT with wasm32
2022-01-09 10:56:28 +08:00
Sebastien Bourdeauducq
4904610dc6
flake: provide mimalloc-enabled Python
...
The Linux linker and the libc are garbage, so there isn't much of an alternative to using the Nix wrapper and LD_PRELOAD.
2022-01-04 21:54:55 +08:00
Sebastien Bourdeauducq
6162d21a5b
LLVM PGO support
2021-12-26 21:11:14 +08:00
Sebastien Bourdeauducq
8101483ebd
flake: style
2021-12-26 18:57:02 +08:00
Sebastien Bourdeauducq
dc5e42c5eb
flake: use LLVM 13 throughout
2021-12-26 18:56:23 +08:00
Sebastien Bourdeauducq
d2a5cd6d57
update to LLVM 13
2021-12-25 22:49:47 +08:00
Sebastien Bourdeauducq
9e3f75255e
update inkwell. Closes #67
2021-12-25 22:17:06 +08:00
Sebastien Bourdeauducq
d2ffdeeb47
flake: update nixpkgs and work around openssh cross compilation breakage. Closes #123
2021-12-08 21:21:37 +08:00
Sebastien Bourdeauducq
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
Sebastien Bourdeauducq
3f73896477
remove a small amount of LLVM bloat
...
Also avoids libffi.dll dependency on Windows.
2021-12-08 17:41:34 +08:00
Sebastien Bourdeauducq
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
Sebastien Bourdeauducq
baa713a3ca
flake: don't attempt to fixup Windows build
2021-12-05 14:40:10 +08:00
Sebastien Bourdeauducq
d2919b9620
Revert "flake: better shells"
...
llvm-config/llvm-sys hates pkgs.buildEnv.
This reverts commit e4f35372d3
.
2021-12-05 14:35:58 +08:00
Sebastien Bourdeauducq
9ee2168932
Revert "flake: fix hydraJobs"
...
This reverts commit e8e1499478
.
2021-12-05 14:35:58 +08:00
Sebastien Bourdeauducq
e8e1499478
flake: fix hydraJobs
2021-12-05 13:03:44 +08:00
Sebastien Bourdeauducq
e4f35372d3
flake: better shells
2021-12-05 12:56:47 +08:00
Sebastien Bourdeauducq
0ae2aae645
flake: publish zipfile with Windows Python module on Hydra
2021-12-02 22:47:35 +08:00
Sebastien Bourdeauducq
b0eb7815da
flake: consistent naming
2021-12-02 22:37:41 +08:00
Sebastien Bourdeauducq
26e60fca6e
flake: cleanup tarball unpacking
2021-12-02 22:37:32 +08:00
Sebastien Bourdeauducq
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
Sebastien Bourdeauducq
6315027a8b
flake: use *.pyd for Windows Python module
2021-12-02 22:24:23 +08:00
Sebastien Bourdeauducq
c0f8d5c602
flake: Windows libs working
2021-12-02 22:01:19 +08:00
Sebastien Bourdeauducq
998f49261d
flake: fix Windows libs further
2021-12-02 21:02:48 +08:00
Sebastien Bourdeauducq
aab43b1c07
flake: unbreak Windows library link (WIP)
2021-12-02 20:00:50 +08:00
Sebastien Bourdeauducq
a6275fbb57
flake: add libffi on Windows
2021-12-02 19:08:20 +08:00
Sebastien Bourdeauducq
8a46032f4c
flake: unbreak llvm-config for cross-compilation of static libs
2021-12-02 18:46:04 +08:00
Sebastien Bourdeauducq
31fba04cee
flake: fix Windows build, now finding LLVM and Python
2021-12-01 18:30:26 +08:00
Sebastien Bourdeauducq
701ca36e99
flake: windows build WIP
2021-11-26 17:26:18 +08:00
Sebastien Bourdeauducq
5e1b0a10a0
flake: patch nixpkgs to fix mingw llvm_12 build
2021-11-26 17:01:44 +08:00
Sebastien Bourdeauducq
9f316a3294
flake: revert nixpkgs to unbreak rust cross-compilation
2021-11-26 17:00:20 +08:00