Joost Baas
4ed25fb351
make sure get_macos_version() returns string without newline
2021-11-11 21:39:39 +01:00
Folkert
33e8f9a6b7
Merge remote-tracking branch 'origin/trunk' into cleanup-im-dependency
2021-11-10 17:19:54 +01:00
Folkert
5632e3159d
remove im dependency where not needed
2021-11-10 16:00:22 +01:00
Folkert de Vries
56c7318cd9
Merge branch 'trunk' into zig9-to-zig
2021-11-10 12:37:39 +01:00
Nathan Bleigh
2dd86b1f18
Updates zig9 to zig
...
Referenced in https://github.com/rtfeldman/roc/pull/1905
2021-11-09 21:18:18 -06:00
Folkert
4e2b41f924
fix variable not updated in code disabled by feature flags
2021-11-09 23:04:31 +01:00
Folkert
a9ce02799c
WIP
2021-11-09 21:37:56 +01:00
Brendan Hansknecht
40f0271ccf
Fix M1 mac build
...
I changed wasmer to use the llvm backend because it compiles the fastest and supports aarch64.
If we later run into llvm versioning issues of some sort, we should switch this to cranelift.
Also re-adds serde-json which is used on macos.
2021-11-06 14:08:19 -07:00
Brendan Hansknecht
73e2cbcb1e
Make versions numbers consistent and matching the lock files
2021-11-06 13:24:45 -07:00
Brendan Hansknecht
4a4a07441e
Merge remote-tracking branch 'origin' into deps
2021-11-06 13:10:33 -07:00
Anton
03f76dfa37
fixed ld warning
2021-11-06 16:21:35 +01:00
Brendan Hansknecht
d49ac68bcc
Update dep with major version changes
2021-11-05 19:19:37 -07:00
Brendan Hansknecht
bddc08c977
Remove unused dependencies
2021-11-05 16:58:11 -07:00
Richard Feldman
fcc5c82f8c
Merge pull request #1891 from rtfeldman/cleanup-targets
...
Target Feature cleanup
2021-11-05 07:47:33 -04:00
Oleksii Skidan
9136180499
Move macos minimum version after the arch. Set it to 10.15 -- the last 10.x release.
2021-11-05 11:57:48 +02:00
Brendan Hansknecht
f38f57e078
swap x86 and x86_64
2021-11-04 22:19:53 -07:00
Brendan Hansknecht
868e9392b1
appease clippy
2021-11-04 22:04:23 -07:00
Brendan Hansknecht
d78b351798
cleanup targets and llvm config to properly progate and build with any subset of features
2021-11-04 21:48:04 -07:00
Oleksii Skidan
ae25b800bb
Force ld to add information about the target platform.
2021-11-04 23:11:27 +02:00
Luiz Carlos L. G. de Oliveira
cf1d365170
Merge branch 'trunk' into Change--arch-flag-to--A-when-calling-ld
2021-11-03 22:04:51 -03:00
Luiz Carlos L. G. de Oliveira
7cdf8a9d70
Merge branch 'trunk' into Change--arch-flag-to--A-when-calling-ld
2021-11-03 09:25:36 -03:00
Luiz Carlos L. G. de Oliveira
07246c8c6e
Change linking for linux to correctly specify architecture
...
Co-authored-by: Richard Feldman <oss@rtfeldman.com>
2021-11-03 09:16:07 -03:00
Folkert de Vries
416a143a7d
Merge branch 'trunk' into shritesh/hello-swift
2021-11-03 12:12:42 +01:00
Anton-4
824373dfb8
Merge branch 'trunk' into deps
2021-11-03 10:50:50 +01:00
Anton-4
a3fc724df3
removed unused maplit
2021-11-03 10:50:25 +01:00
Shritesh Bhattarai
e3a0dfe264
Separate ld_command and ld_child
2021-11-02 21:13:37 -04:00
Shritesh Bhattarai
ec78b9eade
Move sdk_path back up
2021-11-02 21:10:50 -04:00
Shritesh Bhattarai
6c6d64506b
Revert comment layout oops
2021-11-02 20:56:40 -04:00
Shritesh Bhattarai
8b2d3dbe44
Swiftc -O support
2021-11-02 20:33:04 -04:00
Shritesh Bhattarai
66e9a7f82e
No need to allocate a vec
2021-11-02 20:28:10 -04:00
Shritesh Bhattarai
6590d4fe41
big_sur_fix -> sdk_path
2021-11-02 20:28:10 -04:00
Shritesh Bhattarai
bc63536938
A lot of todos but big RocStr works
2021-11-02 20:28:10 -04:00
Richard Feldman
14dc4dec88
Drop unused inlinable_string dep
2021-11-02 19:37:05 -04:00
Shritesh Bhattarai
fed61702ce
Pass target_triple_str instead of native to aarch64 zig
2021-11-02 09:24:52 -04:00
Luiz de Oliveira
8d1e1f043f
Change --arch flag to -A when calling ld
2021-10-30 16:07:08 -03:00
Shritesh Bhattarai
fd61ef89ee
Add aarch64-target in roc_cli and rebuild_host
2021-10-29 19:27:38 -04:00
Anton-4
5487f8e7cb
fmt+clippy
2021-10-29 20:13:31 +02:00
Anton-4
e0fac60ddb
fixed undefined _dl_catch_error_ptr
2021-10-29 20:10:57 +02:00
Locria Cyber
1ab223649a
Change -arch to --arch on linux
2021-10-27 02:52:48 -04:00
Richard Feldman
48505abb08
Merge pull request #1801 from rtfeldman/shritesh/m1-codesign
...
Just enough changes to compile on M1
2021-10-20 22:50:14 -04:00
Shritesh Bhattarai
be9d817830
Just enough changes to compile on M1
2021-10-20 20:07:33 -04:00
Folkert
5c02899535
oops
2021-10-20 23:52:51 +02:00
Folkert
5084fd533b
only do type checing for roc check
2021-10-10 16:32:14 +02:00
Richard Feldman
696a8273ee
Merge pull request #1742 from rtfeldman/test-linker
...
Test linker
2021-10-03 23:26:15 -04:00
Folkert
f1ec5c30d0
make things compile
2021-10-01 20:33:34 +02:00
Brendan Hansknecht
d9e28ed4b1
Merge branch 'trunk' into test-linker
2021-09-25 12:21:05 -07:00
Brendan Hansknecht
e6c137889a
Just disable gc-sections with surgical linker for rust hosts for now
2021-09-25 12:19:56 -07:00
Brendan Hansknecht
411ed58eec
Fix rust host with surgical linking
2021-09-24 21:37:58 -07:00
Brendan Hansknecht
e546ec0c37
Add builtins to precompiled host
2021-09-24 08:31:31 -07:00
Brendan Hansknecht
a593713800
Fix surgical linking for C hosts with extra arg
2021-09-23 21:29:53 -07:00