diff options
Diffstat (limited to 'strata')
-rw-r--r-- | strata/compilers-extra.morph | 17 | ||||
-rw-r--r-- | strata/compilers-extra/clang.morph | 10 | ||||
-rw-r--r-- | strata/compilers-extra/compiler-rt.morph | 10 |
3 files changed, 37 insertions, 0 deletions
diff --git a/strata/compilers-extra.morph b/strata/compilers-extra.morph new file mode 100644 index 00000000..e96be69e --- /dev/null +++ b/strata/compilers-extra.morph @@ -0,0 +1,17 @@ +name: compilers-extra +kind: stratum +description: | + Extra compilers in addition to the ones in build-essential +build-depends: +- morph: strata/llvm-common.morph +chunks: +- name: clang + morph: strata/compilers-extra/clang.morph + repo: upstream:clang + ref: 40b68b4c02b9d9e1e4138815747adf5589496240 + unpetrify-ref: release_37 +- name: compiler-rt + morph: strata/compilers-extra/compiler-rt.morph + repo: upstream:compiler-rt + ref: b5214093d4c91ed5352d35ee9126665fabfa97fe + unpetrify-ref: release_37 diff --git a/strata/compilers-extra/clang.morph b/strata/compilers-extra/clang.morph new file mode 100644 index 00000000..fb7c1ff6 --- /dev/null +++ b/strata/compilers-extra/clang.morph @@ -0,0 +1,10 @@ +name: clang +kind: chunk +build-system: cmake +configure-commands: +- mkdir o +- cd o && cmake -DCMAKE_INSTALL_PREFIX="$PREFIX" -DCMAKE_BUILD_TYPE=Release .. +build-commands: +- cd o && make +install-commands: +- cd o && make DESTDIR="$DESTDIR" install diff --git a/strata/compilers-extra/compiler-rt.morph b/strata/compilers-extra/compiler-rt.morph new file mode 100644 index 00000000..a1c9085b --- /dev/null +++ b/strata/compilers-extra/compiler-rt.morph @@ -0,0 +1,10 @@ +name: compiler-rt +kind: chunk +build-system: cmake +configure-commands: +- mkdir o +- cd o && cmake -DCMAKE_INSTALL_PREFIX="$PREFIX" -DCMAKE_BUILD_TYPE=Release .. +build-commands: +- cd o && make +install-commands: +- cd o && make DESTDIR="$DESTDIR" install |