Commit graph

156 commits

Author SHA1 Message Date
Folkert
0d5e91eb92 fix entry points 2021-06-13 22:13:37 +02:00
Folkert
f20122e71c Merge remote-tracking branch 'origin/trunk' into update_zig 2021-06-09 14:26:35 +02:00
Richard Feldman
9fcd339af9 Set link type based on --lib flag 2021-06-08 21:58:21 -04:00
Richard Feldman
5dc0870f6a Use vanilla llvm-as 2021-06-07 22:05:00 -04:00
Folkert
8e227c7e7c update to llvm 12 2021-06-07 20:02:59 +02:00
Richard Feldman
57676057fa Rename gen to gen_llvm
This way, we have gen_dev and gen_llvm representing the two
different compiler backends.
2021-06-06 07:56:47 -04:00
Richard Feldman
5a6dc24abd Call init_arch separately from arch_str 2021-06-06 01:41:18 -04:00
Richard Feldman
b05342c678 Split out an optional "llvm" feature
Also move OptLevel out of roc_gen (which
should really be called gen_llvm) and into roc_mono,
so it's no longer coupled to LLVM.
2021-06-06 00:32:58 -04:00
Folkert
ab8abb8f11 centralize llvm logic 2021-06-02 21:28:51 +02:00
Jared Ramirez
966bb80cdc Format & rename some Nix stuff; Remove custom .envrc use nix stuff in favor of stdlib 2021-05-31 15:40:26 -07:00
Folkert
3636e18a18 centralize inkwell imports 2021-05-29 21:46:33 +02:00
Richard Feldman
3a35fe55cf Combine two conditionals, rename some stuff 2021-05-27 22:16:07 -04:00
Folkert
fbb711b2ca Merge remote-tracking branch 'origin/trunk' into specialize-lowlevel 2021-05-24 15:11:40 +02:00
Richard Feldman
a7518a675a Clean up some clippy warnings 2021-05-23 20:28:23 -04:00
Folkert
9b02165f00 remove unused function 2021-05-22 19:08:25 +02:00
Folkert
558fb3e1bf clippy + top level thunks 2021-05-15 23:19:08 +02:00
Folkert
48386f2fc6 get Scratchpad to build 2021-05-14 17:01:57 +02:00
Folkert
2163e01288 lowlevel List.map works 2021-05-13 19:15:17 +02:00
Folkert
e63eea7389 WIP 2021-05-13 00:26:41 +02:00
Folkert
fecb83b9c2 fixes 2021-05-07 11:00:15 +02:00
Folkert
b4f6b1a0e4 Merge remote-tracking branch 'origin/trunk' into inkwell-llvm-11-bump 2021-04-22 12:43:41 +02:00
Folkert
3cc4e5fea6 bump inkwell version 2021-04-22 12:43:26 +02:00
Richard Feldman
0a50b0b488 Change license to UPL-1.0
Closes https://github.com/rtfeldman/roc/issues/1199
2021-04-21 19:18:44 -04:00
Folkert
383f35db5a bump bumpalo 2021-04-18 14:36:47 +02:00
Richard Feldman
792a18816a Update authors in Cargo.toml 2021-04-11 08:11:52 -04:00
Richard Feldman
7a774ae3cf Link with -framework Security on macOS 2021-04-10 15:52:54 -04:00
Richard Feldman
a8fa1a47f5 Make macOS linking not crash 2021-04-05 21:44:02 -04:00
Richard Feldman
deb48d48f8 Use zig env to find zig compiler_rt 2021-03-14 22:31:32 -04:00
Richard Feldman
978b3a901d Have --debug use .roc path for .ll and .bc 2021-03-14 22:31:32 -04:00
Richard Feldman
58cf08349e Don't check in binaries in examples 2021-03-14 22:31:32 -04:00
Chadtech
7d78de110b Added comptime import compiler_rt to several host.zig files 2021-03-14 22:31:32 -04:00
Richard Feldman
beacdfda31 Don't use --gc-sections on macos 2021-03-14 22:31:32 -04:00
Folkert
91c1b6c382 write LLVM IR to file when validation fails 2021-03-09 20:14:26 +01:00
Folkert
b4dd1cd751 off by 1 2021-03-03 22:37:08 +01:00
Folkert
24fcafa1c4 re-use header parser state when parsing the rest of the file 2021-03-02 22:51:51 +01:00
Folkert
27130c3172 report errors in the header with correct source 2021-03-02 16:42:26 +01:00
Folkert
3be7df1cac fix tests 2021-02-17 22:56:37 +01:00
Brendan Hansknecht
798ac52dcf Merge remote-tracking branch 'origin' into gen_dev/zig_builtins 2021-02-15 23:52:23 -08:00
Brendan Hansknecht
7d24d51392 gen_dev: generate and link zig builtins. 2021-02-14 18:15:00 -08:00
Folkert
7f8ca150f5 always inline RocDict functions 2021-02-14 15:11:47 +01:00
Folkert
cba729a933 use inline always strategically 2021-02-13 01:10:37 +01:00
Folkert
afe2f51660 basic versions of contains and remove 2021-02-12 23:47:02 +01:00
Folkert
0ed87828e5 Merge remote-tracking branch 'origin/trunk' into dict 2021-02-10 15:02:53 +01:00
Folkert
ca04411523 fix tests/more uniq removal 2021-02-07 22:50:33 +01:00
Folkert
31fc62b7f0 cleanup 2021-02-06 21:46:22 +01:00
Chadtech
a575ff22fa Merge branch 'trunk' of github.com:rtfeldman/roc into dict 2021-02-04 00:37:30 -05:00
Folkert
a79a9ea253 use the compiler's str.zig from platforms 2021-01-31 23:11:02 +01:00
Chadtech
609bb21fad Merge branch 'trunk' of github.com:rtfeldman/roc into dict 2021-01-21 22:46:47 -05:00
Folkert
db11c62210 ld.lld research 2021-01-15 20:50:23 +01:00
Chadtech
cddd64f1c9 Get rid of old Dict implementation, use Zig wyhash, and WIP for testing Roc use of zig wyhash 2021-01-12 00:59:40 -05:00