Commit Graph

84 Commits

Author SHA1 Message Date
bjorn3
b1961baf43 Sync from rust d59363ad0b 2023-06-02 12:44:25 +00:00
AngelicosPhosphoros
8aa3eba564 Added build instructions for cranelift backend as part of Rust repo
All other instructions assume that user works with separate repository than Rust compiler repository. When one follows default instructions, cranelift codegen tries to use different sys-root and compiler internal crates which leads to compiler errors when building it.

I needed to do all this steps while adding new intrinsic to rustc.
2023-05-25 23:34:42 +04:00
bjorn3
215dd7aa0d Add some extra instructions for using the precompiled builds 2023-04-29 13:31:06 +00:00
bjorn3
8bf550e616 Merge commit 'ef07e8e60f994ec014d049a95591426fb92ebb79' into sync_cg_clif-2023-04-29 2023-04-29 12:00:43 +00:00
bjorn3
cc570ae05c Publish a dev release on every commit 2023-03-24 19:23:04 +00:00
bjorn3
b67610f98a Merge commit '598f0909568a51de8a2d1148f55a644fd8dffad0' into sync_cg_clif-2023-01-24 2023-01-24 18:56:42 +01:00
bjorn3
bdcbf47df3 Improve readme and build system help message 2023-01-13 16:34:43 +00:00
bjorn3
e2a2739341 Update not yet supported section of the readme 2022-12-15 12:20:39 +00:00
bjorn3
98a276b589 Merge commit '2bb3996244cf1b89878da9e39841e9f6bf061602' into sync_cg_clif-2022-12-14 2022-12-14 19:30:46 +01:00
bjorn3
26d48c9a37 Rename the build/ directory to dist/
This will allow putting all temporary build artifacts in build/ in the
future, keeping all the build output artifacts in dist/
2022-11-28 13:01:49 +00:00
bjorn3
cfef0a4f8d Merge commit 'e9d1a0a7b0b28dd422f1a790ccde532acafbf193' into sync_cg_clif-2022-08-24 2022-08-24 18:40:58 +02:00
bjorn3
f76ca22479 Enable inline asm on macOS 2022-08-12 12:38:48 +00:00
bjorn3
a5a14258e5 Merge commit '40b00f4200fbdeefd11815398cb46394b8cb0a5e' into sync_cg_clif-2021-12-30 2021-12-30 14:53:41 +01:00
bjorn3
0dd3d28cff Rename cargo executable to cargo-clif
This allows executing it like cargo clif build if you add it to your
PATH. It also fixes infinite recursion on Windows when invoking it as
Windows includes the current directory in PATH by default.

Fixes #971
2021-12-30 11:39:30 +01:00
bjorn3
fb92375755 Merge commit '3a31c6d8272c14388a34622193baf553636fe470' into sync_cg_clif-2021-07-07 2021-07-07 11:14:20 +02:00
bjorn3
80e9188fb1 Rewrite cargo.sh in rust 2021-06-20 12:56:47 +02:00
bjorn3
fe6a2892a6 Rewrite prepare.sh in rust 2021-06-19 13:54:25 +02:00
Erin Power
ee570b1302 Sync rustc_codegen_cranelift 'ddd4ce25535cf71203ba3700896131ce55fde795' 2021-04-30 14:49:58 +02:00
bjorn3
53bfc6729a Centralize all configuration into config.rs 2021-04-07 11:52:11 +02:00
bjorn3
07968a001d Merge commit '0969bc6dde001e01e7e1f58c8ccd7750f8a49ae1' into sync_cg_clif-2021-03-29 2021-03-29 10:45:09 +02:00
bjorn3
05339134de Add license section to the readme
Just in case
2021-03-06 19:26:11 +01:00
bjorn3
95e4db3e03 More doc fixes 2021-03-06 19:22:36 +01:00
bjorn3
76bb1f173f Move the more advanced ways to use cg_clif to usage.md 2021-03-06 19:19:29 +01:00
bjorn3
a75f9bc3be Merge commit 'd556c56f792756dd7cfec742b9f2e07612dc10f4' into sync_cg_clif-2021-02-01 2021-02-01 10:11:46 +01:00
bjorn3
0929e37994 Fix a small error in the readme 2021-01-31 14:15:50 +01:00
bjorn3
356d749952 Update Readme.md for the fixed abi compatibility 2021-01-30 19:38:57 +01:00
bjorn3
77f74ed070 Merge commit 'dbee13661efa269cb4cd57bb4c6b99a19732b484' into sync_cg_clif-2020-12-27 2020-12-27 10:30:38 +01:00
bjorn3
35f4a25c6b Add documentation 2020-12-25 12:19:14 +01:00
bjorn3
20ffea6b8a Change the way JIT mode is selected 2020-12-25 11:31:33 +01:00
Jesse
cd21269ae0
Fix Cranelift link in readme (#1118) 2020-12-13 10:58:47 +01:00
bjorn3
d404840788 Merge commit '5988bbd24aa87732bfa1d111ba00bcdaa22c481a' into sync_cg_clif-2020-11-27 2020-11-27 20:48:53 +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
bjorn3
285c7c66dc Merge commit '03f01bbe901d60b71cf2c5ec766aef5e532ab79d' into update_cg_clif-2020-11-01 2020-11-03 11:00:04 +01:00
bjorn3
8315730895 Upload prebuilt cg_clif 2020-11-02 18:24:21 +01:00
bjorn3
0c34f5aba8 Refactor the build system 2020-11-02 18:17:39 +01:00
bjorn3
9410b5820a Update build instructions 2020-11-01 19:51:35 +01:00
bjorn3
9a513be11a Update readme 2020-09-29 19:50:03 +02:00
bjorn3
426e55709c Replace CG_CLIF_JIT with --jit 2020-09-29 18:41:59 +02:00
bjorn3
8a59808b24 Improve readme 2020-09-23 16:44:02 +02:00
bjorn3
a0f8765251 Add option to use a single section for each function 2020-09-23 09:53:41 +02:00
bjorn3
66343bf4fc Default cargo.sh to release build of cg_clif 2020-07-24 14:21:31 +02:00
bjorn3
9b9a2e4f91
Update README.md for #1068 2020-07-21 00:22:53 +02:00
bjorn3
726e329f46 Add basic inline asm support for x86_64 2020-07-10 21:34:26 +02:00
bjorn3
92dc61aba2 Only display codegen time when CG_CLIF_DISPLAY_CG_TIME=1 2020-07-03 16:43:26 +02:00
bjorn3
58ffc47bbf
Add goal and better current status to readme 2020-06-25 18:01:55 +02:00
Vitaly Shukela
eda840a498
Longer README about how to use this instead of cargo run (#1054)
* Longer README about how to use this instead of `cargo run`

Resolves #1052.

Co-authored-by: bjorn3 <bjorn3@users.noreply.github.com>
2020-06-25 17:59:46 +02:00
bjorn3
5f54cc7658 Implement checked_mul
Fixes #6
2020-06-20 15:15:28 +02:00
bjorn3
f8add1960a Document running rust code from the shell 2020-05-05 12:06:15 +02:00
bjorn3
fd3be6d492
Clarify debug mode vs release mode building in the readme 2020-04-08 12:44:10 +02:00
bjorn3
a3283962bc
Update the rustc usage section of the readme 2020-04-08 12:32:00 +02:00