summaryrefslogtreecommitdiff
path: root/guix/build
Commit message (Collapse)AuthorAge
* Merge branch 'master' into stagingMarius Bakke2020-11-22
|\
| * build-system/cargo: Set gettext environment variable when available.Efraim Flashner2020-11-22
| | | | | | | | | | | | | | * guix/build/cargo-build-system.scm (configure): When gettext is available in the build environment set the GETTEXT_SYSTEM variable. * gnu/packages/crates-io.scm (rust-gettext-rs-0.5, rust-gettext-rs-0.4, rust-gettext-sys-0.19)[arguments]: Remove phase to help find system gettext.
| * build-system/cargo: Set libclang environment variable when available.Efraim Flashner2020-11-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/build/cargo-build-system.scm (configure): When clang is available in the build environment set the LIBCLANG_PATH variable. * gnu/packages/crates-graphics.scm (rust-aom-sys-0.1, uust-dav1d-sys-0.3), * gnu/packages/crates-io.scm (rust-bindgen-0.55, rust-bindgen-0.54, rust-bindgen-0.53, rust-bindgen-0.52, rust-cexpr-0.4, rust-cexpr-0.3, rust-cexpr-0.2, rust-clang-sys-1, rust-clang-sys-0.29, rust-clang-sys-0.26, rust-clang-sys-0.22, rust-clang-sys-0.11, rust-libpijul-0.12, rust-nettle-7, rust-nettle-sys-2, rust-sequoia-openpgp-0.9)[arguments]: Remove phases which set an environment variable to find clang. [inputs]: Rename instances of libclang with clang.
| * build-system/cargo: Set openssl environment variable when available.Efraim Flashner2020-11-22
| | | | | | | | | | | | | | | | | | | | * guix/build/cargo-build-system.scm (configure): When openssl is available set the OPENSSL_DIR variable to discover its location. * gnu/packages/crates-io.scm (rust-curl-sys-0.4, rust-libgit2-sys-0.10, rust-libpijul-0.12, rust-libssh2-sys-0.2, rust-native-tls-0.2, rust-openssl-sys-0.9, rust-openssl-0.7, rust-trust-dns-rustls-0.6), * gnu/packages/rust-apps.scm (tokei, exa)[arguments]: Remove redundant setenv for openssl.
* | build-system/cargo: Do not pass --features to Cargo unless specified.Marius Bakke2020-11-20
| | | | | | | | | | | | | | Fixes <https://bugs.gnu.org/44692>. * guix/build/cargo-build-system.scm (build): Default to the empty list for FEATURES. Check whether the list is empty when building the Cargo arguments.
* | Merge branch 'master' into stagingMarius Bakke2020-11-07
|\| | | | | | | | | | | | | | | Conflicts: gnu/local.mk gnu/packages/gdb.scm gnu/packages/lisp-xyz.scm gnu/packages/web-browsers.scm
| * build/maven: Fix typo.Vagrant Cascadian2020-10-28
| | | | | | | | * guix/build/maven/pom: Fix spelling of "with".
| * build/maven: fix-pom-dependencies: Fix typo.Vagrant Cascadian2020-10-28
| | | | | | | | * guix/build/maven/pom (fix-pom-dependencies): Fix spelling of "overrides".
| * build/maven: fix-pom-dependencies: Fix typo.Vagrant Cascadian2020-10-28
| | | | | | | | * guix/build/maven/pom (fix-pom-dependencies): Fix spelling of "overridden".
| * build/maven-build-system: Return #t in fix-pom-files phase.Björn Höfling2020-10-26
| | | | | | | | * guix/build/maven-build-system.scm (fix-pom-files): Return #t.
* | Merge branch 'master' into stagingMarius Bakke2020-10-19
|\|
| * build-system/go: Install license files.Efraim Flashner2020-10-15
| | | | | | | | | | * guix/build/go-build-system.scm (install-license-files): New procedure. (%standard-phases): Replace inherited 'install-license-files phase.
* | Merge branch 'master' into stagingMarius Bakke2020-10-13
|\|
| * svn-download, hg-download: Use 'report-invoke-error'.Ludovic Courtès2020-10-10
| | | | | | | | | | | | * guix/build/hg.scm (hg-fetch): Use 'report-invoke-error' instead of 'format'. * guix/build/svn.scm (svn-fetch): Likewise.
| * build: svn: Fix handle fetch errors.zimoun2020-10-08
| | | | | | | | | | | | | | | | This fixes the revert 1ec67d5220b0ebac20263b44f4fefaf51ba8fdbb. * guix/build/svn.scm (svn-fetch): Add 'guard' to handle errors. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
| * Revert "build: svn: Handle fetch errors."Paul Garlick2020-10-06
| | | | | | | | | | | | | | | | This reverts commit 2fb12dd1bb725592e1561ac8f4b32fb68accb161, which causes the 'svn export' command to fail with: svn: E155000: Destination directory exists; please remove the directory or use --force to overwrite
| * build: svn: Handle fetch errors.zimoun2020-10-06
| | | | | | | | | | | | * guix/build/svn.scm (svn-fetch): Add 'guard' to handle errors. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
| * build: hg: Handle fetch errors.zimoun2020-10-06
| | | | | | | | | | | | * guix/build/hg.scm (hg-fetch): Add 'guard' to handle errors. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
| * build-system/cargo: Don't install .crates.toml file.Efraim Flashner2020-10-06
| | | | | | | | | | | | | | Fixes <https://issues.guix.gnu.org/43810>. * guix/build/cargo-build-system.scm (install): Remove installed .crates.toml file.
* | Merge branch 'staging' into wip-lispGuillaume Le Vaillant2020-09-23
|\ \
| * | Merge remote-tracking branch 'origin/master' into stagingEfraim Flashner2020-09-05
| |\|
| * | Merge branch 'master' into stagingMarius Bakke2020-07-24
| |\ \
| * | | build/cargo-utils: Use all allocated threads to generate checksums.Efraim Flashner2020-07-15
| | | | | | | | | | | | | | | | | | | | | | | | * guix/build/cargo-utils.scm (generate-all-checksums): Use n-par-for-each instead of for-each when regenerating checksums for source crates.
* | | | build-system: asdf: Improve install phase for CL source packages.Guillaume Le Vaillant2020-09-15
| | | | | | | | | | | | | | | | | | | | * guix/build/asdf-build-system.scm (install)[parent-source]: Add support for package names not containing a hyphen.
* | | | build-system: asdf: Read all .asd files if no #:asd-files specified.Guillaume Le Vaillant2020-09-15
| | | | | | | | | | | | | | | | | | | | | | | | * guix/build-system/asdf.scm (asdf-build): Remove the 'files' variable. * guix/build/asd-build-system.scm (find-asd-files): New variable. (build, check): Use it.
* | | | build-system: asdf: Switch from bundles to regular compilation.Guillaume Le Vaillant2020-09-12
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/packages/lisp.scm (sbcl, ecl)[native-search-paths]: Add 'XDG_CONFIG_DIRS'. * guix/build-system/asdf.scm (asdf-build): Replace 'asd-file' and 'asd-system-name' keywords by 'asd-files' and 'asd-systems'. * guix/build/asdf-build-system.scm (%object-prefix, %lisp-source-install-prefix): Update variables. (install): Update variable. (main-system-name): New variable. (copy-source): Replace 'asd-file' and 'asd-system-name' keywords by 'asd-files' and 'asd-systems'. (configure): New variable. (build, check): Replace 'asd-file' and 'asd-system-name' keywords by 'asd-files' and 'asd-systems'. (create-asd-file, symlink-asd-files): Remove variables. (create-asdf-configuration): New variable. (cleanup-files): Update variable. (%standard-phases): Remove 'create-asd-file' and 'symlink-asd-files' phases. Add 'configure' and 'create-asdf-configuration' phases. * guix/build/lisp-utils.scm (%bundle-install-prefix, normalize-dependency, inputs->asd-file-map, asdf-load-all, compile-system): Remove variables. (compile-systems): New variable. (system-dependencies, compiled-system, generate-system-definition): Remove variable. (test-system): Replace 'asd-file' parameter by 'asd-files'. (generate-executable-for-system): Update variable. (generate-dependency-links, make-asd-file, bundle-asd-file): Remove variables. (make-asdf-configuration): New variable. (build-program, build-image): Set 'XDG_CONFIG_DIRS'. (generate-executable): Update variable.
* | | android-repo-download: Use parallel-job-count instead of hard-coding jobDanny Milosavljevic2020-09-03
| | | | | | | | | | | | | | | | | | | | | count. * guix/build/android-repo.scm (android-repo-fetch): Use parallel-job-count instead of hard-coding job count.
* | | Add (guix android-repo-download).Danny Milosavljevic2020-09-02
| | | | | | | | | | | | | | | | | | * guix/build/android-repo.scm: New file. * guix/android-repo-download.scm: New file. * Makefile.am (MODULES): Add them.
* | | Use guile-zlib extension in build-side code.Mathieu Othacehe2020-08-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am (MODULES): Move guix/build/download-nar.scm to ... (MODULES_NOT_COMPILED): ... here. * guix/build/download-nar.scm: Use (zlib) instead of (guix zlib). * guix/cvs-download.scm (cvs-fetch): Do not stub (guix config) in imported modules list, instead add "guile-zlib" to the extension list. * guix/git-download.scm (git-fetch): Ditto. * guix/hg-download.scm (hg-fetch): Do not stub (guix config) in imported modules list, instead add "guile-zlib" to the extension list.
* | | build-system/haskell: Do not pass "--bindir" during configure.Ricardo Wurmus2020-08-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | The "--bindir" option is not as useful as it seems as the configured location is embedded in the outputs. Instead of using "--bindir" it seems better to build a statically linked binary and move the binary to its own output to avoid references between the "out" and "bin" outputs. * guix/build/haskell-build-system.scm (configure): Do not pass "--bindir".
* | | build-system/haskell: Add 'extra-directories' keyword.Timothy Sample2020-08-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See <https://bugs.gnu.org/39309>. * guix/build-system/haskell.scm (lower): Include the transitive propagated inputs of 'extra-directories' inputs. (haskell-build): Add the 'extra-directories' keyword and pass it through to the builder. * guix/build/haskell-build-system.scm (configure): Use it to select which inputs get passed via 'extra-include-dirs' and 'extra-lib-dirs' to Cabal. * gnu/packages/haskell-xyz.scm (ghc-alsa-core, ghc-hmatrix, ghc-hmatrix-gsl, ghc-hslua, ghc-iwlib, ghc-libyaml, ghc-ncurses, ghc-openglraw, ghc-x11, ghc-x11-xft, ghc-zlib): Set 'extra-directories'. * gnu/packages/haskell-crypto.scm (ghc-digest, ghc-hsopenssl): Likewise.
* | | haskell-build-system: register: Remove references to the doc output.Ricardo Wurmus2020-08-12
| | | | | | | | | | | | | | | | | | * guix/build/haskell-build-system.scm (register): Strip references to the doc output from the generated package config files; move the haddock files from the "doc" output to the "lib" output.
* | | haskell-build-system: register: Respect lib output.Ricardo Wurmus2020-08-12
| | | | | | | | | | | | * guix/build/haskell-build-system.scm (register): Use lib output if it exists.
* | | build-system/haskell: Add default output "static".Ricardo Wurmus2020-08-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/build-system/haskell.scm (lower): Add OUTPUTS keyword and add the "static" output in the common case. (haskell-build): Set the default value for the OUTPUTS keyword to include the "static" output. * guix/build/haskell-build-system.scm (install): Move static libraries to the "static" output if it exists.
* | | build-system/haskell: Configure to link with shared libraries.Ricardo Wurmus2020-08-12
| | | | | | | | | | | | | | | | | | * guix/build/haskell-build-system.scm (configure): Add configure flags to build shared libraries by default, to generate position independent code, and to set the RUNPATH.
* | | build-system/haskell: Refactor configure step.Ricardo Wurmus2020-08-12
| | | | | | | | | | | | | | | * guix/build/haskell-build-system.scm (configure): Replace append with quasiquotes and splicing.
* | | build-system/haskell: Support parallel builds.Ricardo Wurmus2020-08-12
| |/ |/| | | | | | | | | | | * guix/build-system/haskell.scm (haskell-build): Add keyword PARALLEL-BUILD? and pass it on to the builder. * guix/build/haskell-build-system.scm (build): Accept keyword PARALLEL-BUILD? and pass the number of parallel jobs to GHC.
* | 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'.