summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Firth <dan.firth@codethink.co.uk>2016-11-03 18:13:29 +0000
committerDaniel Firth <dan.firth@codethink.co.uk>2016-11-03 18:13:29 +0000
commit118f7bb5f864f043685ac14f25b33d2e21bda582 (patch)
treec7970f332b1ea10adc64c1ece33e2751cd396d20
parent8f6a3db30a5edb429c563246d7c076583fc6b290 (diff)
downloaddefinitions-lc/rust.tar.gz
Add rust stratumlc/rust
-rw-r--r--strata/rust.morph14
-rw-r--r--strata/rust/rustc.morph8
2 files changed, 22 insertions, 0 deletions
diff --git a/strata/rust.morph b/strata/rust.morph
new file mode 100644
index 00000000..ea8be292
--- /dev/null
+++ b/strata/rust.morph
@@ -0,0 +1,14 @@
+name: rust
+kind: stratum
+chunks:
+- name: stage1-rustc
+ repo: https://github.com/rust-lang/rust
+ ref: ac919fcd9d4a958baf99b2f2ed5c3d38a2ebf9d0
+ morph: strata/rust/rustc.morph
+ build-mode: bootstrap
+- name: rustc
+ repo: https://github.com/rust-lang/rust
+ ref: ac919fcd9d4a958baf99b2f2ed5c3d38a2ebf9d0
+ morph: strata/rust/rustc.morph
+ build-depends:
+ - stage1-rustc
diff --git a/strata/rust/rustc.morph b/strata/rust/rustc.morph
new file mode 100644
index 00000000..aebb63cc
--- /dev/null
+++ b/strata/rust/rustc.morph
@@ -0,0 +1,8 @@
+name: rustc
+kind: chunk
+configure-commands:
+- CFG_ENABLE_LOCAL_REBUILD=1 ./configure
+build-commands:
+- make
+install-commands:
+- make install