Commit graph

103 commits

Author SHA1 Message Date
Folkert
4c16a46001 better zig hosts 2020-12-08 20:30:48 +01:00
Folkert
4c2654d4ed Merge remote-tracking branch 'origin/trunk' into task 2020-12-08 14:51:46 +01:00
Folkert
0b0ae7b287 make it work! 2020-12-08 00:15:57 +01:00
Folkert
4fdf8e5fab report on LLVM codegen time 2020-12-06 02:30:34 +01:00
Richard Feldman
4a72ae8ed0 Add --libary c when building zig hosts 2020-12-03 23:37:36 -05:00
Richard Feldman
2d9fe11c64
Merge branch 'trunk' into zig-hosts 2020-12-01 23:05:11 -05:00
Brendan Hansknecht
dcb4660273 properly add target features 2020-12-02 03:08:04 +00:00
Richard Feldman
f79614e769 Allow zig hosts 2020-12-01 22:07:11 -05:00
Richard Feldman
017b53ce23 Clean up c_host.o renaming logic 2020-12-01 22:07:11 -05:00
Folkert
0c53aea64a fix compilation on my linux machine 2020-12-01 15:20:08 +01:00
Richard Feldman
5ef36e0a17
Merge branch 'trunk' into aarch64-link 2020-11-26 21:22:09 -05:00
Folkert
5569e328f6 add --debug mode that annotates LLVM IR with debug info 2020-11-26 21:31:52 +01:00
Folkert
2dbf430892 Merge remote-tracking branch 'origin/trunk' into llvm-debug-info 2020-11-26 20:53:13 +01:00
Brendan Hansknecht
4d0363456a Pick correct version of architecture name 2020-11-25 22:45:32 -08:00
Brendan Hansknecht
8a5d45a8a4 Autoformat link.rs 2020-11-25 21:32:40 -08:00
Brendan Hansknecht
81c0050683 Fix linking on Aarch64 with nix 2020-11-26 03:06:10 +00:00
Richard Feldman
bc48f72760 Merge remote-tracking branch 'origin/trunk' into cstr 2020-11-22 22:29:34 -05:00
Folkert
b6433f872a DCE unused functions everywhere 2020-11-23 02:15:40 +01:00
Folkert
58246ad572 DCE zig-defined builtins that aren't used in user code 2020-11-23 02:01:57 +01:00
Folkert
82b7208533 add debugir tool to build program 2020-11-19 21:18:13 +01:00
Folkert
5ce8a665f0 add finalize everywhere, and fix some oversights 2020-11-18 20:08:43 +01:00
Folkert
7fcc05b0a4 add dibuilder 2020-11-17 20:26:07 +01:00
Folkert
8528e5affb upgrade inkwell 2020-11-17 01:58:30 +01:00
rvcas
679bef1f9d fix(link): use a more generic macos sdk path for ld 2020-11-15 13:13:06 -05:00
Richard Feldman
0ad3ffe35a
Merge branch 'trunk' into rvcas/list_sum 2020-11-15 12:13:46 -05:00
rvcas
1c8bb74268 feat(List): add sum builtin 2020-11-15 11:08:27 -05:00
Brendan Hansknecht
2204ee82d5 Extract LayoutIds from roc_gen to roc_mono::layout 2020-11-14 17:48:04 -08:00
Richard Feldman
84fe87a756 Panic if rebuilding host fails 2020-11-03 21:54:53 -05:00
Folkert
af0600dc25 report errors per-module 2020-11-03 16:59:37 +01:00
Brendan Hansknecht
6988cae9a8 Reset valgrind version and other minor cleanup 2020-10-27 22:05:46 -07:00
Brendan Hansknecht
b51b7d7fb1 Install vagrind-3.16.1 from source
Also, disable passing features.
2020-10-27 14:25:45 -07:00
Brendan Hansknecht
d7a41bedf3 Force same features as my host
I am a little confused why the last change didn't work.
Just for fun/testing see if forcing these options works in CI.
2020-10-26 22:15:37 -07:00
Brendan Hansknecht
8f3d48527e Disable all avx512 extensions 2020-10-26 21:37:03 -07:00
Brendan Hansknecht
adb2e932e7 Disable avx512dq extension to make CI pass 2020-10-26 21:10:30 -07:00
Richard Feldman
80411473ae clippy clip 2020-10-25 01:56:55 -04:00
Richard Feldman
3d7a265c5f Load a dynamic library in the repl 2020-10-25 01:42:10 -04:00
Richard Feldman
5bf5807abd Only situationally do aggressive optimization 2020-10-25 01:42:10 -04:00
Richard Feldman
14c8a00f9d Don't link Scrti.o when doing dynamic linking 2020-10-25 01:42:10 -04:00
Richard Feldman
b4377d4d67 Get a basic dylib linking started 2020-10-25 01:41:55 -04:00
Richard Feldman
60c33c81c3 Add LinkType to link.rs 2020-10-24 11:24:28 -04:00
Folkert
cb9ce5e8d7 use modules in the repl 2020-10-14 17:48:56 +02:00
Folkert
8338296da2 add top-level thunks to the scope everywhere 2020-10-14 15:03:41 +02:00
Richard Feldman
a3d81108c3
Merge branch 'trunk' into improve-dependency-solving 2020-10-12 10:23:53 -04:00
Brendan Hansknecht
b88f3674bb Add dynamic path for libgcc 2020-10-11 16:09:40 -07:00
Brendan Hansknecht
6e130d51bc Make link paths generic and add libgcc_s 2020-10-11 14:31:42 -07:00
Folkert
40f0588696 back to a working state 2020-10-11 21:55:26 +02:00
Folkert
4f9b27b694 sketch of a proof of concept 2020-10-11 01:54:50 +02:00
Folkert
79d3b0ac01 cross module specialization WIP 2020-10-11 01:23:52 +02:00
Folkert
8eec622d23 move over code that tries to do the full specialization process in parallel 2020-10-10 20:40:55 +02:00
Folkert
c7b251d6b4 Merge remote-tracking branch 'origin/trunk' into gen-modules 2020-10-08 01:29:32 +02:00