summaryrefslogtreecommitdiff
path: root/gnu/packages/commencement.scm
Commit message (Collapse)AuthorAge
* gnu: linux-libre-headers: Update to 5.4.20.Marius Bakke2020-02-15
| | | | | | | | * gnu/packages/linux.scm (linux-libre-headers-4.19.56): Rename to ... (linux-libre-headers-5.4.20): ... this. Update to 5.4.20. (linux-libre-headers): Adjust accordingly. * gnu/packages/commencement.scm (rsync-boot0): New variable. (linux-libre-headers-boot0)[native-inputs]: Add RSYNC-BOOT0.
* gnu: gcc: Switch back to using 'C_INCLUDE_PATH' instead of 'CPATH'.Ludovic Courtès2020-02-06
| | | | | | | | | | | | | | | | | | | | | | | Fixes <https://bugs.gnu.org/30756>. Initially reported by Julien Lepiller <julien@lepiller.eu>. * gnu/packages/base.scm (make-gcc-libc): Remove 'treat-glibc-as-system-header' phase from 'arguments'. * gnu/packages/commencement.scm (gcc-final): Likewise. * gnu/packages/gcc.scm (gcc-4.7)[arguments]: Add "include/c++" to 'CPLUS_INCLUDE_PATH'. (gcc-6)[native-search-paths]: Remove. * gnu/packages/make-bootstrap.scm (gcc-for-bootstrap): Remove 'native-search-paths' and 'arguments'. * gnu/packages/patches/python-2.7-search-paths.patch, gnu/packages/patches/python-3-search-paths.patch: Replace "CPATH" with "C_INCLUDE_PATH". * guix/build-system/cmake.scm (lower): When not cross-compiling, move INPUTS from the 'host-inputs' field to the 'build-inputs' field of the bag, right after NATIVE-INPUTS. * guix/build-system/glib-or-gtk.scm (lower): Likewise. * guix/build-system/gnu.scm (lower): Likewise. * guix/build-system/meson.scm (lower): Likewise.
* gnu: commencement: Rationalize search path handling.Ludovic Courtès2020-02-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit ensures that only packages that correspond to compilers have a search path set. It also reduces manual handling of search path environment variables. * gnu/packages/commencement.scm (tcc-boot0)[native-search-paths]: Remove copy/pasted comment. (gcc-core-mesboot)[arguments]: In 'install2' phase, do not copy TCC/include to OUT/include. [native-search-paths]: Remove leading slash in "lib/gcc-lib/…" directory name. (mesboot-headers)[native-search-paths]: Remove. (glibc-mesboot0)[native-search-paths]: Remove. (gcc-mesboot0)[native-inputs]: Reorder so that we have libc, then kernel-headers, then gcc. [arguments]: Rewrite 'setenv' phase to only set CONFIG_SHELL and create 'config.cache'. (gcc-mesboot1)[native-inputs]: Reorder similarly. [arguments]: In 'setenv' phase, only set CONFIG_SHELL, C_INCLUDE_PATH, and CPLUS_INCLUDE_PATH. (glibc-headers-mesboot)[arguments]: In 'setenv' phase, replace references to '%build-inputs' by references to 'inputs'; simplify setting of CONFIG_SHELL and SHELL; simplify patching of /bin/pwd in the "configure" file; leave C_INCLUDE_PATH and LIBRARY_PATH unset. (glibc-mesboot)[native-search-paths]: Remove. (gcc-mesboot)[native-inputs]: Reorder. [arguments]: Remove clause for #:phases that would change the 'setenv' phase.
* gnu: commencement: Avoid hard-coded GCC version numbers.Ludovic Courtès2020-02-06
| | | | | * gnu/packages/commencement.scm (gcc-mesboot1, gcc-mesboot): Use 'package-version' instead of hard-coding the version number.
* Merge branch 'staging' into core-updatesMarius Bakke2020-02-03
|\
| * gnu: commencement: Remove unused module imports.Marius Bakke2020-02-03
| | | | | | | | | | * gnu/packages/commencement.scm: Do not import (guix licenses), (srfi srfi-26), and (ice-9 regex).
* | gnu: make: Update to 4.3.Marius Bakke2020-01-21
| | | | | | | | | | | | | | | | | | | | | | | | * gnu/packages/patches/make-impure-dirs.patch: Adjust for renamed files. * gnu/packages/patches/make-glibc-compat.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/base.scm (gnu-make): Update to 4.3. [source](uri): Change to ".gz" tarball. [source](patches): Remove obsolete. [arguments]: Remove #:configure-flags. Adjust for renamed files. [inputs]: Change from GUILE-2.0 to GUILE-3.0. * gnu/packages/commencement.scm (gnu-make-boot0)[arguments]: Add #:configure-flags.
* | gnu: python-boot0: Update to 3.5.9.Marius Bakke2020-01-14
| | | | | | | | * gnu/packages/commencement.scm (python-boot0): Update to 3.5.9.
* | gnu: python-boot0: Do not inherit source snippet from python.Marius Bakke2020-01-14
| | | | | | | | | | | | | | This is in preparation for Python 3.8 which requires changes. * gnu/packages/commencement.scm (python-boot0)[source]: Copy modules and snippet from PYTHON instead of inheriting.
* | Merge branch 'master' into core-updatesMarius Bakke2020-01-11
|\|
| * gnu: make-gcc-toolchain: Fix typo in description.Jonathan Brielmaier2020-01-11
| | | | | | | | | | | | | | * gnu/packages/commencement.scm (make-gcc-toolchain)[description]: Fix typo and triple spacing. Signed-off-by: Marius Bakke <mbakke@fastmail.com>
* | Merge remote-tracking branch 'master' into core-updates.Mathieu Othacehe2019-12-31
|\|
| * gnu: Add gfortran-toolchainKonrad Hinsen2019-12-15
| | | | | | | | | | | | * gnu/packages/commencement.scm: (gfortran-toolchain): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* | Merge remote-tracking branch 'origin/master' into core-updatesEfraim Flashner2019-12-12
|\|
| * gnu: tcc-boot0: Add ftp.gnu.org URL for the source tarball.Ludovic Courtès2019-12-08
| | | | | | | | | | | | | | The generated source tarball from gitlab.com is now mirrored at ftp.gnu.org to ensure that it remains available, unchanged. * gnu/packages/commencement.scm (tcc-boot0)[source]: Add "mirror://gnu" URL.
* | gnu: findutils: Update to 4.7.0.Marius Bakke2019-12-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/packages/patches/findutils-gnulib-libio.patch, gnu/packages/patches/findutils-makedev.patch, gnu/packages/patches/findutils-test-xargs.patch: Delete files. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/base.scm (findutils): Update to 4.7.0. [source](uri): Adjust for file name change. [source](snippet): Remove. [source](patches): Remove obsolete. [arguments]: Remove obsolete workaround. Add phase to patch tests. * gnu/packages/commencement.scm (findutils-boot0)[arguments]: Allow 32-bit time_t on 64-bit systems.
* | Merge remote-tracking branch master into core-updatesMathieu Othacehe2019-11-16
|\|
| * gnu: commencement: Ensure 'gnu-make-final' refers to the native 'pkg-config'.Ludovic Courtès2019-11-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes <https://bugs.gnu.org/38093>. When running: guix build --target=arm-linux-gnueabihf -e '(@ (gnu packages base) coreutils)' the '%current-target-system' parameter is set by the time the top-level of (gnu packages commencement) is evaluated. Consequently, we need to ensure that the 'pkg-config' macro evaluates in a context where '%current-target-system' is unset. * gnu/packages/commencement.scm (gnu-make-final): Refer to '%pkg-config' instead of 'pkg-config'. * tests/guix-build.sh: Add test.
| * gnu: commencement: Memoize uses of 'cross-gcc-wrapper'.Ludovic Courtès2019-11-04
| | | | | | | | | | | | | | This improves caching down the road. * gnu/packages/commencement.scm (gcc-boot0-intermediate-wrapped) (gcc-boot0-wrapped): Use 'mlambda' instead of 'lambda'.
* | gnu: commencement: Clean up 'gnu-make-final' dependencies.Ludovic Courtès2019-10-14
| | | | | | | | | | * gnu/packages/commencement.scm (gnu-make-final): Remove GUILE-FINAL from the inputs of 'pkg-config'.
* | gnu: bison-boot0: Remove conditional parallel build/test flags.Ludovic Courtès2019-10-14
| | | | | | | | | | | | * gnu/packages/commencement.scm (bison-boot0)[arguments]: Remove conditional #:parallel-build? and #:parallel-tests? flags. Append (package-arguments bison).
* | gnu: bison-boot0: Set name to "bison-boot0".Ludovic Courtès2019-10-14
| | | | | | | | * gnu/packages/commencement.scm (bison-boot0)[name]: New field.
* | gnu: commencement: Remove 'm4-boot0*'.Ludovic Courtès2019-10-14
|/ | | | | * gnu/packages/commencement.scm (m4-boot0*): Remove. (bison-boot0, flex-boot0): Use M4-BOOT0 instead.
* gnu: commencement: Use 'package-with-explicit-inputs' for Hurd packages.Ludovic Courtès2019-10-14
| | | | | | | * gnu/packages/commencement.scm (with-boot0): New procedure. (gnumach-headers-boot0, mig-boot0) (hurd-headers-boot0, hurd-minimal-boot0) (hurd-core-headers-boot0): Use it instead of 'package-with-explicit-inputs'.
* gnu: commencement: Further optimize the package object graph.Ludovic Courtès2019-10-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For a package like: (define-public xxx (package (inherit (@ (gnu packages base) coreutils)) (name "xxx") (inputs (@ (gnu packages commencement) %final-inputs)) (native-inputs '()) (propagated-inputs '()) (arguments '(#:implicit-inputs? #f)))) this reduces the package object graph from 176 nodes (1852 edges) to 113 nodes (1114 edges). The number of 'add-data-to-store' calls in "guix build coreutils -nd" drops from 2045 to 1301, and the number of memoization tables drops from 102 to 40. "guix build libreoffice -nd" goes from 2.40s to 2.27s. * gnu/packages/commencement.scm (with-boot4): New variable. (guile-final, glibc-utf8-locales-final): Use it. (with-boot4, with-boot5): New variable. (gnu-make-final): Rewrite to avoid 'package-with-explicit-inputs'. (coreutils-final): Use 'with-boot5' instead of 'package-with-explicit-inputs'. (grep-final): Likewise. (with-boot6): New variable. (sed-final, %final-inputs): Use it.
* gnu: ld-wrapper: Memoize.Ludovic Courtès2019-10-12
| | | | | | | | | | | | The command: guix graph -e '(@@ (gnu packages commencement) coreutils-final)' now shows 93 nodes (992 edges) instead of 176 nodes (1241 edges). * gnu/packages/commencement.scm (ld-wrapper-boot0): Use 'mlambda' instead of 'lambda'. (ld-wrapper-boot3): Likewise.
* gnu: Improve memoization of 'package-with-bootstrap-guile'.Ludovic Courtès2019-10-12
| | | | | | | | | | | | | | | Before that, the command: GUIX_PROFILING=memoization guix build -e '(@@ (gnu packages commencement) gnu-make-final)' -nd would show that 'package-with-bootstrap-guile' was called 2256 times (hit rate: 89%). Now, it is called 745 times (hit rate: 85%). "guix build libreoffice -nd" goes from 2.60s to 2.40s (-8%). * gnu/packages/commencement.scm (gnu-make-final) (coreutils-final, grep-final, sed-final, %final-inputs): Call 'package-with-bootstrap-guile' before 'package-with-explicit-inputs'.
* gnu: commencement: Reduce the graph of package objects.Ludovic Courtès2019-10-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The graph returned by: guix graph -e '(@@ (gnu packages commencement) guile-final)' now contains 94 nodes (664 edges) instead of 394 (2674 edges). Likewise, this command: GUIX_PROFILING=add-data-to-store-cache guix build coreutils -nd shows that the number of lookups to the 'add-data-to-store' caches goes from 8935 to 5303. Overall, "guix build libreoffice -nd" goes from 3.17s to 2.60s (-18%). * gnu/packages/commencement.scm (diffutils-boot0): Remove call to 'package-with-bootstrap-guile' and 'package-with-explicit-inputs', and adjust accordingly. (findutils-boot0, file-boot0, binutils-boot0, libstdc++-boot0) (gcc-boot0, perl-boot0, m4-boot0, bison-boot0, flex-boot0) (linux-libre-headers-boot0, texinfo-boot0, python-boot0) (ld-wrapper-boot0, glibc-final-with-bootstrap-bash) (static-bash-for-glibc, gettext-boot0, glibc-final, binutils-final) (libstdc++, zlib-final, bash-final): Likewise. (expat-sans-tests)[inputs]: New field. [arguments]: Add #:implicit-inputs? and #:guile. (m4-boot0*): New variable.
* gnu: Remove unnecessary uses of 'package-with-bootstrap-guile'.Ludovic Courtès2019-10-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reduces the object graph returned by: guix graph -e '(@@ (gnu packages commencement) glibc-final-with-bootstrap-bash) from 333 nodes (1542 edges) to 148 nodes (886 edges). This improves 'package-derivation' memoization and, consequently, the 'add-data-to-store' cache shown by: GUIX_PROFILING=add-data-to-store-cache guix build coreutils -nd goes from 10948 lookups to 8935 lookups. * gnu/packages/commencement.scm (mes-boot): Remove call to 'package-with-bootstrap-guile'. Call 'bootstrap-origin' on the source of NYACC-0.86. (tcc-boot0): Likewise. (tcc-boot): Remove call to 'package-with-bootstrap-guile' and call 'bootstrap-origin' on its source. (make-mesboot0): Remove call to 'package-with-bootstrap-guile'. (diffutils-mesboot): Likewise. (binutils-mesboot0): Likewise, and call 'bootstrap-origin' for its source. (gcc-core-mesboot): Likewise. (mesboot-headers): Remove call to 'package-with-bootstrap-guile'. (glibc-mesboot0): Likewise, and call 'bootstrap-origin' for its source. (gcc-mesboot0): Remove call to 'package-with-bootstrap-guile'. (binutils-mesboot): Likewise. (make-mesboot): Likewise. (gcc-mesboot1): Likewise, and call 'bootstrap-origin' for its source. (gcc-mesboot1-wrapper): Remove call to 'package-with-bootstrap-guile'. (glibc-headers-mesboot): Likewise, and call 'bootstrap-origin' for its source. (glibc-mesboot): Remove call to 'package-with-bootstrap-guile'. (gcc-mesboot): Likewise, and call to 'bootstrap-origin' for its source. (gcc-mesboot-wrapper): Remove call to 'package-with-bootstrap-guile'. (m4-mesboot): Likewise. (gnu-make-boot0): Likewise, and call 'bootstrap-origin' for its source.
* maint: Placate 'assert-no-store-file-names'.Ludovic Courtès2019-09-08
| | | | | | | | | | Reported by Vagrant Cascadian <vagrant@debian.org>. * Makefile.am (assert-no-store-file-names): Exclude "binutils-boot-2.20.1a.patch" since it contains a store file name as a comment. * gnu/packages/commencement.scm (glibc-mesboot0): Use an ellipsis instead of an actual store file name in comment.
* bootstrap: mes-boot: Fix at 0.19.Jan Nieuwenhuizen2019-09-08
| | | | | | This allows updating Mes without triggering a rebuild. * gnu/packages/commencement.scm (mes-boot): Fix 0.19.
* Merge branch 'master' into core-updatesMark H Weaver2019-09-06
|\
| * gnu: glibc-utf8-locales: Fix cross-compilation.Mathieu Othacehe2019-09-04
| | | | | | | | | | | | | | * gnu/packages/base.scm (glibc-utf8-locales)[inputs]: Move to ... [native-inputs]: ... here, in order to fix cross-compilation. * gnu/packages/commencement.scm (glibc-utf8-locales-final)[inputs]: Move to ... [native-inputs]: ... here, in order to fix cross-compilation.
* | gnu: bison-boot0: Build sequentially.Ludovic Courtès2019-08-28
| | | | | | | | | | | | | | | | This is a followup to 2c35ae82192fd6f1732b15fa41aec87aa61a1879 and b1593c1c4fd8f4fc6df4c43cab51334426e3aa76. * gnu/packages/commencement.scm (bison-boot0)[arguments]: Add #:parallel-build? and #:parallel-tests? on x86.
* | Merge branch 'master' into core-updatesLudovic Courtès2019-07-17
|\|
| * gnu: Allow building toolchain with non-default libc.Carl Dong2019-07-16
| | | | | | | | | | | | | | * gnu/packages/base.scm (make-gcc-libc): Make public. * gnu/packages/commencement.scm (make-gcc-toolchain): Add 'libc' optional argument to specify using a non-default glibc package, also make public.
* | gnu: flex: Remove superfluous input.Marius Bakke2019-07-09
| | | | | | | | | | | | | | | | The configure script will warn that "make indent" is unavailable, but apart from that this input is not actually used for the build process. * gnu/packages/flex.scm (flex)[inputs]: Remove INDENT. * gnu/packages/commencement.scm (flex-boot0)[inputs]: Likewise.
* | gnu: Python: Update to 3.7.4.Marius Bakke2019-07-09
| | | | | | | | | | | | | | | | | | | | | | | | * gnu/packages/python.scm (python-3.7): Update to 3.7.4. [source](snippet): Move disabled tests ... [arguments]<#:make-flags>: ... here. Enable previously failing tests. <#:phases>: Add 'set-TZDIR'. [native-inputs]: Add TZDATA-FOR-TESTS. * gnu/packages/commencement.scm (python-boot0)[arguments]: Clear <#:make-flags>. Delete 'set-TZDIR' phase. * gnu/packages/patches/python-3-fix-tests.patch: Disable two new tests that do not work in the build container. Adjust context.
* | gnu: commencement: Fix Python build on non-x86 platforms.Marius Bakke2019-07-07
| | | | | | | | | | | | * gnu/packages/commencement.scm (python-boot0)[version, source]: Downgrade to 3.5.7. [arguments]: Remove <#:make-flags>. Add <#:phases>. [native-inputs]: Remove artifical dependency on PKG-CONFIG.
* | gnu: glibc: Update to 2.29.Marius Bakke2019-07-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/packages/patches/glibc-bootstrap-system.patch, gnu/packages/patches/glibc-supported-locales.patch: Adjust for glibc 2.29. * gnu/packages/patches/glibc-2.28-supported-locales.patch, gnu/packages/patches/glibc-CVE-2019-7309.patch, gnu/packages/patches/glibc-CVE-2019-9169.patch, gnu/packages/patches/glibc-2.29-git-updates.patch: New files. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/base.scm (glibc): Update to 2.29. [source](patches): Add 'glibc-CVE-2019-7309.patch', 'glibc-CVE-2019-9169.patch', and 'glibc-2.29-git-updates.patch'. Remove 'glibc-hurd-magic-pid.patch'. [native-inputs]: Add PYTHON-MINIMAL. (glibc-2.28): New public variable. * gnu/packages/commencement.scm (expat-sans-tests, python-boot0): New variables. (glibc-final-with-bootstrap-bash)[native-inputs]: Add PYTHON-BOOT0. * gnu/packages/python.scm (python-3.7)[arguments]: Disable test that fails with glibc 2.29.
* | gnu: linux-libre-headers: Update to 4.19.56.Marius Bakke2019-07-02
| | | | | | | | | | | | | | | | * gnu/packages/linux.scm (linux-libre-headers-4.14.67): Rename to ... (linux-libre-headers-4.19.56): ... this. Adjust hash accordingly. (linux-libre-headers): Set to LINUX-LIBRE-HEADERS-4.19.56. * gnu/packages/commencement.scm (linux-libre-headers-boot0)[native-inputs]: Add FLEX-BOOT0 and BISON-BOOT0.
* | gnu: commencement: Remove outdated comment.Marius Bakke2019-07-02
| | | | | | | | | | * gnu/packages/commencement.scm (bison-boot0): Remove bash comment, which is no longer accurate.
* | gnu: gettext: Update to 0.20.1.Marius Bakke2019-07-02
| | | | | | | | | | | | | | | | | | | | | | | | * gnu/packages/gettext.scm (gettext-minimal): Update to 0.20.1. [source](snippet): Remove. [inputs]: Remove EXPAT. Add LIBUNISTRING, LIBXML2, and NCURSES. [arguments]: Add #:configure-flags and a "patch-fixed-paths" phase. Delete "link-expat" phase. * gnu/packages/commencement.scm (gettext-boot0): Stay on version 0.19.8.1. [arguments]: Adjust accordingly. Co-authored-by: Miguel <rosen644835@gmail.com>
* | gnu: commencement: Return #t from all phases.Marius Bakke2019-06-20
| | | | | | | | | | | | | | | | | | | | While at it, remove useless (and ...) indirections, because the procedures never return #f anyway: instead they would raise an exception upon failure. * gnu/packages/commencement.scm (mes-boot, tcc-boot0, tcc-boot, diffutils-mesboot, binutils-mesboot0, gcc-core-mesboot, gcc-mesboot0, glibc-headers-mesboot, glibc-mesboot, gnu-make-boot0): Return #t from phases and remove (and ...) blocks.
* | gnu: gcc-mesboot-wrapper: Fix 'version' field.Ludovic Courtès2019-06-17
| | | | | | | | | | | | | | | | | | Until now the 'version' field would match 'gcc-mesboot1-wrapper' ("4.7.4") instead of that of 'gcc-mesboot' ("4.9.4"). * gnu/packages/commencement.scm (gcc-mesboot-wrapper)[version]: New field.
* | gnu: commencement: '%bootstrap-inputs+toolchain' no longer contains Mes.Ludovic Courtès2019-06-17
| | | | | | | | | | | | * gnu/packages/commencement.scm (%bootstrap-inputs+toolchain): On i686-linux and x86_64-linux, remove "bootstrap-mescc-tools" and "mes" from %BOOTSTRAP-INPUTS.
* | gnu: mes-boot, tcc-boot0: Require nyacc 0.86.Ludovic Courtès2019-06-13
| | | | | | | | | | | | | | This is a followup to b8016467273d06ffe3780ac97d38acfd72ce15d9. * gnu/packages/commencement.scm (mes-boot, tcc-boot0): Use source from NYACC-0.86 instead of NYACC.
* | Merge branch 'staging' into core-updatesMarius Bakke2019-05-25
|\|
| * gnu: gcc: Add 9.1.0.Carl Dong2019-05-06
| | | | | | | | | | | | | | | | | | * gnu/packages/gcc.scm (gcc-9): New variable. * gnu/packages/commencement.scm (gcc-toolchain-9): New variable. * gnu/packages/patches/gcc-9-strmov-store-file-names.patch: New file. * gnu/local.mk (dist_patch_DATA): Add the patch. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* | Merge branch 'master' into core-updatesMarius Bakke2019-05-01
|\|