Commit Graph

68 Commits

Author SHA1 Message Date
bjorn3
92f765fce9 Remove support for x86 oldBE 2021-02-18 18:07:25 +01:00
bjorn3
87ecdaa848 Recognize FreeBSD as OS 2021-02-14 18:13:06 +01:00
bjorn3
9be3936e95 Use #!/usr/bin/env bash
FreeBSD doesn't have /bin/bash
2021-02-14 18:12:51 +01:00
bjorn3
d556c56f79 Add option to build using the sysroot of rustc 2021-01-31 18:31:33 +01:00
bjorn3
17cffc1757 Move some env var definitions around to fix cross-compilation 2021-01-31 14:56:10 +01:00
bjorn3
9164653c10 Split config.sh and add support for copying the mingw runtime objects 2021-01-31 14:15:08 +01:00
bjorn3
7657ebccc8 Fix macOS build 2021-01-30 20:05:38 +01:00
bjorn3
d34b5e2885 Rustup to rustc 1.51.0-nightly (b12290861 2021-01-29) 2021-01-30 19:29:02 +01:00
bjorn3
ae6daf77ba Default to Cranelift newBE 2021-01-22 12:28:32 +01:00
bjorn3
173ec34e3d Add a feature flag to switch between oldbe and newbe 2021-01-21 19:33:29 +01:00
bjorn3
9bf5cb43ab Fix indirectly linking to libstd.so with the JIT 2021-01-21 16:14:32 +01:00
bjorn3
d404840788 Merge commit '5988bbd24aa87732bfa1d111ba00bcdaa22c481a' into sync_cg_clif-2020-11-27 2020-11-27 20:48:53 +01:00
bjorn3
c982c48579 Use rpath to compile the cg_clif executable 2020-11-13 19:48:49 +01:00
Jakob Hellermann
7ab499fe49 use hardlinks instead of copying files 2020-11-12 16:18:03 +01:00
bjorn3
cf3aa64c66 Better build dir layout
It now matches the layout used by rustc itself
2020-11-08 17:35:59 +01:00
Jakob Hellermann
d6a9dfa3d4 run 'shellcheck -f diff $(fd --extension sh) | git apply' 2020-11-04 16:07:42 +01:00
Joshua Nelson
a3a508a516 Fix compiling with CARGO_TARGET_DIR
Previously it would error:

```
    Finished dev [unoptimized + debuginfo] target(s) in 26.93s
mv target/debug/main raytracer_cg_llvm
mv: cannot stat 'target/debug/main': No such file or directory
```
2020-11-03 20:51:11 -05:00
bjorn3
285c7c66dc Merge commit '03f01bbe901d60b71cf2c5ec766aef5e532ab79d' into update_cg_clif-2020-11-01 2020-11-03 11:00:04 +01:00
bjorn3
0c34f5aba8 Refactor the build system 2020-11-02 18:17:39 +01:00
bjorn3
3c364134ec Restructure scripts and add flamegraph generator 2018-12-03 18:50:00 +01:00
bjorn3
7466741bf0 Benchmark compilations speed
cc #133
2018-11-16 18:39:31 +01:00
bjorn3
8233ade789 Set cranelift opt_level based on -Copt-level 2018-11-16 18:13:43 +01:00
bjorn3
7ef83ec641 Disable alloc_example and compile mod_bench_inline's sysroot with -Zmir-opt-level=3 2018-11-11 11:40:41 +01:00
bjorn3
640d66c777 Call linker from cg_clif 2018-11-11 11:40:31 +01:00
bjorn3
d20f54bb1a Add some benchmarks 2018-11-05 18:42:43 +01:00
bjorn3
c080c0bfec Misc changes 2018-11-03 15:04:27 +01:00
bjorn3
12a5d777d3 Misc build.sh changes 2018-11-02 20:09:52 +01:00
bjorn3
75baefebbb Enable codegen by default 2018-10-23 10:57:09 +02:00
bjorn3
397c6843d0 Rustup to rustc 1.31.0-nightly (155510e37 2018-10-20) and fix test 2018-10-21 16:32:19 +02:00
bjorn3
3f574e9f7b Use ranlib instead of ar x 2018-10-20 15:19:07 +02:00
bjorn3
4177e804e9 Some more changes 2018-10-10 19:04:20 +02:00
bjorn3
f6346e8e15 Some changes 2018-10-10 18:36:47 +02:00
bjorn3
460d3f05a2 Mention xargo in Readme.md and fix travis 2018-10-08 19:47:02 +02:00
bjorn3
562bd8abfd Add xargo example 2018-10-08 19:40:35 +02:00
bjorn3
f127042639 Rename examples directory to example to prevent rls trying to compile its content 2018-09-22 12:15:56 +02:00
bjorn3
e7ca9a186b Fix jit 2018-09-09 14:45:23 +02:00
bjorn3
4053b7c8e6 Fix build.sh 2018-09-03 18:29:55 +02:00
bjorn3
6f52a1937d Improve build.sh 2018-09-02 17:51:56 +02:00
bjorn3
0117b7872a Don't grep away parts of log 2018-08-30 20:16:46 +02:00
bjorn3
871be2a469 Codegen entry wrapper (fixes #13) 2018-08-17 13:21:03 +02:00
bjorn3
ca59e4405e Reduce verbosity of output 2018-08-15 16:17:59 +02:00
bjorn3
7d3f2ba49f Change build.sh 2018-08-15 15:24:05 +02:00
bjorn3
7f2a8f8a66 Disable some example which don't compile yet 2018-08-15 14:49:36 +02:00
bjorn3
a8ca0f02fc Support emitting object files (fixes #5) 2018-08-14 22:01:18 +02:00
bjorn3
0978710ffd Codegen minicore 2018-08-14 12:13:07 +02:00
bjorn3
257a607e3e Change build.sh a bit 2018-08-13 19:40:40 +02:00
bjorn3
b9d7164eff Fix and test checked binops 2018-08-13 19:14:55 +02:00
bjorn3
23b4db227a Implement basic incremental compilation 2018-08-12 20:49:43 +02:00
bjorn3
46ebc2bc5c Make the hello world example runnable 2018-08-11 15:05:57 +02:00
bjorn3
5629c423ff Add #!/bin/bash to build.sh 2018-08-10 19:09:21 +02:00