summaryrefslogtreecommitdiff
path: root/guix/build
Commit message (Collapse)AuthorAge
* guix: Add maven-build-system.Julien Lepiller2020-07-17
| | | | | | | * guix/build-system/maven.scm: New file. * guix/build/maven-build-system.scm: New file. * Makefile.am (MODULES): Add them. * doc/guix.texi (Build Systems): Document the maven build system.
* guix: java-utils: Add Maven-related phases.Julien Lepiller2020-07-17
| | | | | | | | | | | * guix/build/maven/java.scm: New file. * guix/build/maven/plugin.scm: New file. * guix/build/maven/pom.scm: New file. * Makefile.am (MODULES): Add them. * guix/build-system/ant.scm (%ant-build-system-modules): Add them to the build side. * guix/build/java-utils.scm (generate-plugin.xml, install-pom-file) (install-from-pom): New procedures.
* download-nar: Hide colliding 'dump-port*' binding.Ludovic Courtès2020-07-10
| | | | | * guix/build/download-nar.scm: Hide 'dump-port*' from (guix serialization).
* maint: Remove traces of "berlin.guixsd.org".Ludovic Courtès2020-07-10
| | | | | | | | | | | | | | The guixsd.org domain is no longer advertised since before in 1.0.0 release in May 2019. * etc/substitutes/berlin.guixsd.org.pub: Rename to... * etc/substitutes/berlin.guix.gnu.org.pub: ... this. * etc/substitutes/ci.guix.gnu.org.pub, etc/substitutes/ci.guix.info.pub: Adjust accordingly. * gnu/services/base.scm (%default-authorized-guix-keys): Likewise. * guix/build/download-nar.scm (urls-for-item): Likewise. * guix/self.scm (miscellaneous-files): Likewise. * Makefile.am (dist_pkgdata_DATA): Likewise.
* guix: build: Fix asdf-build-system/ecl.Guillaume Le Vaillant2020-07-01
| | | | | * guix/build/lisp-utils.scm (make-asd-file): Fix value of 'component?' parameter when using ECL.
* po: Micro-optimize 'read-po-file'.Ludovic Courtès2020-06-23
| | | | | * guix/build/po.scm (parse-tree->assoc): Use dot instead of ellipsis in 'match' clause to avoid repeated calls to 'list?'.
* po: Avoid regexps when interpreting '\n' sequences.Ludovic Courtès2020-06-23
| | | | | | | | | | | This reduces the execution time of: (call-with-input-file "po/doc/guix-manual.de.po" read-po-file) from 4.7s to 4.0s. * guix/build/po.scm (interpret-newline-escape): New procedure. (parse-tree->assoc): Use it instead of 'regexp-substitute/global'.
* compile: Build gnu/{packages,tests}/* with '-O1'.Ludovic Courtès2020-06-22
| | | | | * guix/build/compile.scm (optimization-options): Use '-O1' for the simple case.
* build-system/asdf: Add support for component-less systems.Pierre Neidhardt2020-06-18
| | | | | | | * guix/build/lisp-utils.scm (make-asd-file): Ensure lib directory exists and check if prebuilt bundle system was generated. (generate-system-definition): Add :class and :components only if prebuilt system was generated.
* build-system/gnu: Fix 'install' phase of 'gnu-dist'.Ludovic Courtès2020-06-18
| | | | | * guix/build/gnu-dist.scm (install-dist): Fix 2nd argument to 'for-each'.
* build-system/gnu: Rename "make dist" phase to 'build-dist'.Ludovic Courtès2020-06-17
| | | | | * guix/build/gnu-dist.scm (%dist-phases): Add BUILD under the name 'build-dist'.
* build-system/gnu: Remove redundant 'unpack' phase from 'gnu-dist'.Ludovic Courtès2020-06-17
| | | | | | | | This has become redundant with the standard 'unpack' phase since 17919a58012c38052133ed029450fdb98d01fb5c. * guix/build/gnu-dist.scm (copy-source): Remove. (%dist-phases): Remove 'unpack' phase.
* build-system/gnu: Remove Hydra-specific code from 'gnu-dist'.Ludovic Courtès2020-06-17
| | | | | * guix/build/gnu-dist.scm (install-dist): Remove code for 'hydra-build-products'.
* build-system/gnu: Remove 'autoreconf' phase from 'gnu-dist'.Ludovic Courtès2020-06-17
| | | | | | | | This has been superseded by the 'bootstrap' phase added in 189be331acfda1c242a9c85fca8d2a0356742f48. * guix/build/gnu-dist.scm (autoreconf): Remove. (%dist-phases): Remove it.
* profiles: Add comment at the top of 'manifest' file.Ludovic Courtès2020-06-17
| | | | | * guix/build/profiles.scm (build-profile): Add comment at the top of MANIFEST-FILE.
* Merge branch 'master' into stagingMarius Bakke2020-06-08
|\
| * syscalls: set-thread-name, thread-name: Fix thinko.Jan (janneke) Nieuwenhuizen2020-06-08
| | | | | | | | * guix/build/syscalls.scm (set-thread-name, thread-name): Oops, fix thinko.
| * syscalls: set-thread-name, thread-name: Stub for the Hurd.Jan (janneke) Nieuwenhuizen2020-06-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid crash Backtrace: guix/build/syscalls.scm:405:8: In procedure prctl: Function not implemented because of missing prctl on the Hurd. * guix/build/syscalls.scm (set-thread-name, thread-name): Rename to ... (set-thread-name!/linux,thread-name/linux): ...this. (set-thread-name, thread-name): Swtich between linux implementation and or stub.
* | Merge branch 'master' into stagingMarius Bakke2020-06-06
|\|
| * build-system: linux-module: Allow passing #:make-flags argument.Danny Milosavljevic2020-06-02
| | | | | | | | | | | | | | | | * guix/build-system/linux-module.scm (linux-module-build): Add #:make-flags. (linux-module-build-cross): Add #:make-flags. * guix/build/linux-module-build-system.scm (install): Pass make-flags. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
* | Merge branch 'master' into stagingMarius Bakke2020-05-29
|\|
| * syscalls: 'terminal-dimension' ignores EPERM.Ludovic Courtès2020-05-29
| | | | | | | | | | | | | | | | Fixes <https://bugs.gnu.org/41581>. Reported by Tobias Geerinckx-Rice <me@tobias.gr>. * guix/build/syscalls.scm (terminal-dimension): Add EPERM to the list of errno code for FALL-BACK.
| * syscalls: Properly match %HOST-TYPE.Jesse Dowell2020-05-29
| | | | | | | | | | | | | | | | | | | | | | | | Fixes <https://bugs.gnu.org/41546>. Regression introduced in 0d371c633f7308cfde2432d6119d386a5c63198c. * guix/build/syscalls.scm (write-socket-address!) (read-socket-address): Use 'string-contains' instead of 'string-suffix?'. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| * compile: Do not optimize "gnu/tests/*".Ludovic Courtès2020-05-25
| | | | | | | | | | * guix/build/compile.scm (optimization-options): Add "gnu/tests/" to level 0.
* | Merge branch 'master' into stagingMarius Bakke2020-05-26
|\|
| * build: asdf-build-system: Use SBCL source in CL packages.Pierre Neidhardt2020-05-21
| | | | | | | | | | | | | | | | | | | | | | * guix/build/asdf-build-system.scm (copy-files-to-output): Don't attempt to reset timestamps on files without write access. (install): When parent SBCL package is in the inputs, use its source. This way we get possibly patched sources in CL packages as well (e.g. for FFI). This is also useful for sources that generate files on load-op, like cl-unicode. * guix/build-system/asdf.scm (package-with-build-system): Forward the SBCL parent as a native input so that it can be used in the above install phase.
| * build: minify-build-system: Fail to install empty files.Efraim Flashner2020-05-18
| | | | | | | | | | * guix/build/minify-build-system.scm (install): Produce an error if the minified file is zero bytes.
| * syscalls: Adjust 'sockaddr-in', 'sockaddr-in6' structs for the Hurd.Jan (janneke) Nieuwenhuizen2020-05-15
| | | | | | | | | | | | | | | | | | | | * guix/build/syscalls.scm (sockaddr-in,sockaddr-in6): Rename to ... (sockaddr-in/linux, sockaddr-in6/linux): ... this. Rename introduced bindings as well. (write-socket-address!/linux,read-socket-address/linux): Rename from (write-socket-address!, read-socket-address): ... new switches between those and ... (write-socket-address!/hurd, read-socket-address/hurd): ... these new function.
* | Merge branch 'master' into stagingMarius Bakke2020-05-26
|\|
| * syscalls: Add 'getxattr'.Jan (janneke) Nieuwenhuizen2020-05-14
| | | | | | | | | | * guix/build/syscalls.scm (getxattr): New procedure. * tests/syscalls.scm ("getxattr, setxattr"): Test it, together with setxattr.
| * compile: Reduce optimization levels for gnu/services and gnu/packages.Ludovic Courtès2020-05-13
| | | | | | | | | | | | | | * guix/build/compile.scm (optimization-options)[strip-option] [override-option]: New procedures. Add case for "gnu/services". Change "gnu/packages" to '-O0 -Opartial-eval'.
| * syscalls: Add 'setxattr'.Jan (janneke) Nieuwenhuizen2020-05-13
| | | | | | | | | | | | * guix/build/syscalls.scm (setxattr): New procedure. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
| * Merge branch 'core-updates'Marius Bakke2020-05-08
| |\
| | * build-system/emacs: Hide the 'delete' binding from (guix build utils).Marius Bakke2020-05-07
| | | | | | | | | | | | | | | | | | | | | This gets rid of a warning from 'compute-guix-derivation.drv' when running on Guile 3.0. (guix build emacs-build-system) includes (srfi srfi-1) anyway. * guix/build/emacs-build-system.scm: Do not import 'delete' from (guix build utils).
| | * Merge branch 'master' into core-updatesMarius Bakke2020-05-06
| | |\
| | * \ Merge branch 'master' into core-updatesMarius Bakke2020-05-05
| | |\ \
| | * \ \ Merge branch 'master' into core-updatesMarius Bakke2020-04-24
| | |\ \ \
| | * \ \ \ Merge branch 'master' into core-updatesMarius Bakke2020-04-23
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: etc/news.scm gnu/local.mk gnu/packages/bootloaders.scm gnu/packages/linphone.scm gnu/packages/linux.scm gnu/packages/tls.scm gnu/system.scm
| | * \ \ \ \ Merge branch 'master' into core-updatesMarius Bakke2020-04-19
| | |\ \ \ \ \
| | * \ \ \ \ \ Merge branch 'master' into core-updatesMarius Bakke2020-04-13
| | |\ \ \ \ \ \
| | * \ \ \ \ \ \ Merge branch 'master' into core-updatesMarius Bakke2020-04-08
| | |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: etc/news.scm gnu/local.mk gnu/packages/check.scm gnu/packages/cross-base.scm gnu/packages/gimp.scm gnu/packages/java.scm gnu/packages/mail.scm gnu/packages/sdl.scm gnu/packages/texinfo.scm gnu/packages/tls.scm gnu/packages/version-control.scm
| | * \ \ \ \ \ \ \ Merge branch 'master' into core-updatesMarius Bakke2020-03-27
| | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: gnu/packages/icu4c.scm gnu/packages/man.scm gnu/packages/python-xyz.scm guix/scripts/environment.scm guix/scripts/pack.scm guix/scripts/package.scm guix/scripts/pull.scm guix/store.scm
| | * \ \ \ \ \ \ \ \ Merge branch 'master' into core-updatesMarius Bakke2020-03-14
| | |\ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ Merge branch 'master' into core-updatesMarius Bakke2020-03-04
| | |\ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | Add (guix build gnu-bootstrap).Timothy Sample2020-02-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/build/gnu-bootstrap.scm: New file. * Makefile.am (MODULES): Add it.
| | * | | | | | | | | | | utils: Change 'patch-shebang' to not try to patch Rust source files.Danny Milosavljevic2020-02-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/build/utils.scm (patch-shebang): Match only absolute paths.
| | * | | | | | | | | | | build: gnu-build-system: Adjust NOCONFIGURE variable.Efraim Flashner2020-02-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This ia a follow-up to 481a0f1a7ceac666a011b28324220584ead07698. * guix/build/gnu-build-system.scm (bootstrap): Set NOCONFIGURE for all bootstrap scripts. Clean up variable after use.
| | * | | | | | | | | | | build-system/gnu: Don't try executing directories in bootstrap phase.Brendan Tildesley2020-02-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/build/gnu-build-system.scm: (bootstrap): Change the file-exists? procedure to one that excludes directories, so that we do not mistake it for a script. For example if the source includes a bootstrap/ directory. Signed-off-by: Marius Bakke <mbakke@fastmail.com>
| | * | | | | | | | | | | build: gnu-build-system: Don't run configure during bootstrap.Efraim Flashner2020-02-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/build/gnu-build-system.scm (bootstrap): Add NOCONFIGURE environment variable before running bootstrap scripts.
| | * | | | | | | | | | | Merge branch 'master' into core-updatesMarius Bakke2020-02-14
| | |\ \ \ \ \ \ \ \ \ \ \