[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#57086] [PATCH 2/6] gnu: libgccjit: Build with bootstrapped gcc.
From: |
Liliana Marie Prikler |
Subject: |
[bug#57086] [PATCH 2/6] gnu: libgccjit: Build with bootstrapped gcc. |
Date: |
Fri, 5 Aug 2022 20:27:48 +0200 |
* gnu/packages/gcc.scm (make-libgccjit)[#:configure-flags]: Add
“--disable-bootstrap”, “--disable-libatomic”, “--disable-libgomp”,
“--disable-libquadmath”, “--disable-libssp”, and “--enable-checking=release”.
[inputs]: Remove libstdc++.
[native-inputs]: Add gcc.
---
gnu/packages/gcc.scm | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index 66f0766646..4f7076d977 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -983,7 +983,13 @@ (define-public (make-libgccjit gcc)
(srfi srfi-1)
(srfi srfi-26)))
((#:configure-flags flags)
- #~(cons* "--enable-host-shared"
+ #~(cons* "--disable-bootstrap"
+ "--disable-libatomic"
+ "--disable-libgomp"
+ "--disable-libquadmath"
+ "--disable-libssp"
+ "--enable-host-shared"
+ "--enable-checking=release"
"--enable-languages=jit"
(remove (cut string-match "--enable-languages.*" <>)
#$flags)))
@@ -995,6 +1001,10 @@ (define-public (make-libgccjit gcc)
(find-files
(string-append (assoc-ref outputs "out") "/bin")
".*(c\\+\\+|cpp|g\\+\\+|gcov|gcc|gcc-.*)"))))))))
+ (inputs (modify-inputs (package-inputs gcc)
+ (delete "libstdc++")))
+ (native-inputs (modify-inputs (package-native-inputs gcc)
+ (prepend gcc)))
(synopsis "GCC library generating machine code on-the-fly at runtime")
(description
"This package is part of the GNU Compiler Collection and provides an
--
2.37.0
- [bug#57086] [PATCH 0/6] Add native compilation to Emacs, Liliana Marie Prikler, 2022/08/09
- [bug#57086] [PATCH 4/6] gnu: emacs: Build with native compilation., Liliana Marie Prikler, 2022/08/09
- [bug#57086] [PATCH 6/6] build-system: emacs: Use native compilation., Liliana Marie Prikler, 2022/08/09
- [bug#57086] [PATCH 5/6] guix: emacs-utils: Add emacs-compile-directory., Liliana Marie Prikler, 2022/08/09
- [bug#57086] [PATCH 3/6] gnu: libgccjit: Build multiple versions., Liliana Marie Prikler, 2022/08/09
- [bug#57086] [PATCH 1/6] gnu: Parameterize libgccjit., Liliana Marie Prikler, 2022/08/09
- [bug#57086] [PATCH 2/6] gnu: libgccjit: Build with bootstrapped gcc.,
Liliana Marie Prikler <=
- [bug#57086] [PATCH 0/6] Add native compilation to Emacs, (, 2022/08/09
- [bug#57086] [PATCH v3 0/7] Add native compilation to Emacs, Liliana Marie Prikler, 2022/08/25
- [bug#57086] [PATCH v3 2/7] gnu: libgccjit: Build with bootstrapped gcc., Liliana Marie Prikler, 2022/08/25
- [bug#57086] [PATCH v3 3/7] gnu: libgccjit: Build multiple versions., Liliana Marie Prikler, 2022/08/25
- [bug#57086] [PATCH v3 5/7] guix: emacs-utils: Add emacs-compile-directory., Liliana Marie Prikler, 2022/08/25
- [bug#57086] [PATCH v3 6/7] build-system: emacs: Use native compilation., Liliana Marie Prikler, 2022/08/25
- [bug#57086] [PATCH v3 7/7] gnu: emacs-yasnippet: Fix build., Liliana Marie Prikler, 2022/08/25