all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#67010] [PATCH 0/2] icedtea-8 powerpc-linux patches
@ 2023-11-09  6:37 Efraim Flashner
  2023-11-09  6:41 ` [bug#67010] [PATCH 1/2] gnu: icedtea-8: Fix building on powerpc-linux Efraim Flashner
  2023-11-09  6:41 ` [bug#67010] [PATCH 2/2] gnu: icedtea-8: Don't build the docs Efraim Flashner
  0 siblings, 2 replies; 3+ messages in thread
From: Efraim Flashner @ 2023-11-09  6:37 UTC (permalink / raw)
  To: 67010; +Cc: Efraim Flashner, Björn Höfling, Julien Lepiller

I successfully built icedtea-8 on powerpc-linux with the first patch.
After seeing that building the docs took more than 15 hours I tested the
second patch on x86_64 and it built without any issues. For comparison,
the docs part of the 'build phase on my x86_64 machine took 52 seconds.

Efraim Flashner (2):
  gnu: icedtea-8: Fix building on powerpc-linux.
  gnu: icedtea-8: Don't build the docs.

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


base-commit: b0bfddd7f937fcefdaeb1de4ccafd415c1df4122
-- 
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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* [bug#67010] [PATCH 1/2] gnu: icedtea-8: Fix building on powerpc-linux.
  2023-11-09  6:37 [bug#67010] [PATCH 0/2] icedtea-8 powerpc-linux patches Efraim Flashner
@ 2023-11-09  6:41 ` Efraim Flashner
  2023-11-09  6:41 ` [bug#67010] [PATCH 2/2] gnu: icedtea-8: Don't build the docs Efraim Flashner
  1 sibling, 0 replies; 3+ messages in thread
From: Efraim Flashner @ 2023-11-09  6:41 UTC (permalink / raw)
  To: 67010; +Cc: Efraim Flashner, Björn Höfling, Julien Lepiller

* 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





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#67010] [PATCH 2/2] gnu: icedtea-8: Don't build the docs.
  2023-11-09  6:37 [bug#67010] [PATCH 0/2] icedtea-8 powerpc-linux patches Efraim Flashner
  2023-11-09  6:41 ` [bug#67010] [PATCH 1/2] gnu: icedtea-8: Fix building on powerpc-linux Efraim Flashner
@ 2023-11-09  6:41 ` Efraim Flashner
  1 sibling, 0 replies; 3+ messages in thread
From: Efraim Flashner @ 2023-11-09  6:41 UTC (permalink / raw)
  To: 67010; +Cc: Efraim Flashner, Björn Höfling, Julien Lepiller

* gnu/packages/java.scm (icedtea-8)[arguments]: Add a configure-flag to
skip building the docs.

Change-Id: I4a8cfb869cf38bc879ea72a85e0e783a4a759500
---
 gnu/packages/java.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 99c8839803..70afcc29e4 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -742,6 +742,7 @@ (define-public icedtea-8
                    ,@(if ,(target-ppc32?)
                        `("--enable-jfr=no")
                        '())
+                   "--disable-docs"     ; This phase can take hours on slow machines.
                    "--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





^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-11-09  6:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-09  6:37 [bug#67010] [PATCH 0/2] icedtea-8 powerpc-linux patches Efraim Flashner
2023-11-09  6:41 ` [bug#67010] [PATCH 1/2] gnu: icedtea-8: Fix building on powerpc-linux Efraim Flashner
2023-11-09  6:41 ` [bug#67010] [PATCH 2/2] gnu: icedtea-8: Don't build the docs Efraim Flashner

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.