mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-16 12:00:35 +02:00
gnu: jamvm: Add aarch64-linux support.
* gnu/packages/java.scm (classpath-devel)[source]: Add (existing) patch. (jamvm)[source]: Add patches. [arguments]: Inherit non-overridden arguments (particularly #:phases) from jamvm-1-bootstrap. * gnu/packages/patches/jamvm-2.0.0-aarch64-support.patch: New file. * gnu/packages/patches/jamvm-2.0.0-opcode-guard.patch: New file. * gnu/local.mk (dist_patch_DATA): Add files. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
6c9dca5a9b
commit
2995be77e1
4 changed files with 691 additions and 5 deletions
|
@ -713,7 +713,8 @@ machine.")))
|
|||
(file-name (string-append "classpath-" version "-checkout"))
|
||||
(sha256
|
||||
(base32
|
||||
"1v2rww76ww322mpg3s12a1kkc6gkp31bm9gcxs532h0wq285fiw4"))))
|
||||
"1v2rww76ww322mpg3s12a1kkc6gkp31bm9gcxs532h0wq285fiw4"))
|
||||
(patches (search-patches "classpath-aarch64-support.patch"))))
|
||||
(arguments
|
||||
`(#:make-flags
|
||||
;; Ensure that the initial heap size is smaller than the maximum
|
||||
|
@ -779,7 +780,9 @@ machine.")))
|
|||
(base32
|
||||
"1nl0zxz8y5x8gwsrm7n32bry4dx8x70p8z3s9jbdvs8avyb8whkn"))
|
||||
(patches
|
||||
(search-patches "jamvm-2.0.0-disable-branch-patching.patch"))
|
||||
(search-patches "jamvm-2.0.0-disable-branch-patching.patch"
|
||||
"jamvm-2.0.0-opcode-guard.patch"
|
||||
"jamvm-2.0.0-aarch64-support.patch"))
|
||||
(snippet
|
||||
'(begin
|
||||
;; Remove precompiled software.
|
||||
|
@ -787,9 +790,10 @@ machine.")))
|
|||
#t))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:configure-flags
|
||||
(list (string-append "--with-classpath-install-dir="
|
||||
(assoc-ref %build-inputs "classpath")))))
|
||||
(substitute-keyword-arguments (package-arguments jamvm-1-bootstrap)
|
||||
((#:configure-flags _)
|
||||
'(list (string-append "--with-classpath-install-dir="
|
||||
(assoc-ref %build-inputs "classpath"))))))
|
||||
(inputs
|
||||
`(("classpath" ,classpath-devel)
|
||||
("ecj-javac-wrapper" ,ecj-javac-wrapper)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue