guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#67010] [PATCH 1/2] gnu: icedtea-8: Fix building on powerpc-linux.


From: Efraim Flashner
Subject: [bug#67010] [PATCH 1/2] gnu: icedtea-8: Fix building on powerpc-linux.
Date: Thu, 9 Nov 2023 08:41:08 +0200

* gnu/packages/java.scm (icedtea-8)[arguments]: When building for
powerpc-linux add a configure-flag to skip the java flight recorder.

Change-Id: I3b9e137c82766507c46ba7a54dff64c3c50c3685
---

I wasn't able to find a way to add this without changing the hash for
the other architectures. Also, I think this is also true for armhf, but
currently jamvm doesn't build for that architecture so I couldn't test
it.

 gnu/packages/java.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index ac427b8eaa..99c8839803 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -738,6 +738,10 @@ (define-public icedtea-8
                    "--enable-nss"
                    ,(string-append "--with-parallel-jobs="
                                    (number->string (parallel-job-count)))
+                   ;; Java Flight Recorder isn't supported on some 
architectures.
+                   ,@(if ,(target-ppc32?)
+                       `("--enable-jfr=no")
+                       '())
                    "--disable-downloading"
                    "--disable-system-pcsc"
                    "--disable-system-sctp"
-- 
Efraim Flashner   <efraim@flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted






reply via email to

[Prev in Thread] Current Thread [Next in Thread]