summaryrefslogtreecommitdiff
path: root/strata/java.morph
diff options
context:
space:
mode:
authorJim MacArthur <jim.macarthur@codethink.co.uk>2015-05-28 16:34:41 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2015-06-12 10:38:34 +0000
commitfbe3d1e8d5bc0844070b5cfb74e870eb45920cf7 (patch)
treed088f9a38bc719bff586671bb55ece33ff8239dd /strata/java.morph
parent6c9cc189cc1470283a146d359bd817061cc5a747 (diff)
downloaddefinitions-fbe3d1e8d5bc0844070b5cfb74e870eb45920cf7.tar.gz
Add java-build stratum, contaniing things necessary to build OpenJDK
The use of the java-binary repo from Github goes against the policy we have defined for the Baserock reference systems, of having everything built from source code that is mirrored on git.baserock.org. However, building a Java compiler from source code super difficult so we can't really avoid this hack at present if we want to build other Java components from source using Baserock tooling. Change-Id: I9bc1892cbdbb3d3234b06d8a650b0c568254c0b5
Diffstat (limited to 'strata/java.morph')
-rw-r--r--strata/java.morph22
1 files changed, 22 insertions, 0 deletions
diff --git a/strata/java.morph b/strata/java.morph
new file mode 100644
index 00000000..f10bb8a1
--- /dev/null
+++ b/strata/java.morph
@@ -0,0 +1,22 @@
+name: java
+kind: stratum
+description: |
+ This stratum contains everything necessary to compile and run Java applications
+ and build OpenJDK from source.
+build-depends:
+- morph: strata/core.morph
+- morph: strata/x-common.morph
+- morph: strata/graphics-common.morph
+chunks:
+- name: java-binary
+ morph: strata/java/java-binary.morph
+ repo: github:jmacarthur/openjdk-binary
+ ref: 6f53762e2632c4b9f9afdfa6995a2c696bb9fd43
+ unpetrify-ref: master
+- name: java-ant
+ morph: strata/java/java-ant.morph
+ repo: upstream:java/ant
+ ref: b3509fc3250b0f868076c846d29da80cbdc20681
+ unpetrify-ref: ANT_194
+ build-depends:
+ - java-binary