summaryrefslogtreecommitdiff
path: root/guix/build
Commit message (Collapse)AuthorAge
* Merge branch 'master' into python-testsMarius Bakke2017-02-27
|\
| * build: dub-build-system: Don't use "dub run" at all.Danny Milosavljevic2017-02-14
| | | | | | | | | | | | | | | | | | It doesn't make sense to run non-test executables (which is what "dub run" would do). The "check" function already invokes "dub test" and that's enough. * guix/build/dub-build-system.scm (build): Remove "dub run" invocation.
* | Merge branch 'master' into python-testsMarius Bakke2017-02-13
|\|
| * gnu: Add dub-build-system.Danny Milosavljevic2017-02-10
| | | | | | | | | | | | | | * guix/build-system/dub.scm: New file. * guix/build/dub-build-system.scm: New file. * Makefile.am (MODULES): Add them. * doc/guix.texi: Add section for dub-build-system.
| * build: r-build-system: Use deterministic built date.Ricardo Wurmus2017-02-02
| | | | | | | | | | | | | | Fixes <http://bugs.gnu.org/25598>. * guix/build/r-build-system.scm (install): Pass "--built-timestamp" option to make build deterministic.
| * bournish: Extend 'rm' command.Ricardo Wurmus2017-01-26
| | | | | | | | | | | | * guix/build/bournish.scm (rm-command): New procedure. (%commands): Use it. * tests/bournish.scm: Add tests for "rm" and "rm -r".
| * syscalls: Export 'read-utmpx'.Ludovic Courtès2017-01-24
| | | | | | | | | | | | * guix/build/syscalls.scm (read-utmpx-from-port): New procedure. * tests/syscalls.scm ("read-utmpx, EOF") ("read-utmpx"): New tests.
| * syscalls: Add utmpx procedures and data structure.Ludovic Courtès2017-01-19
| | | | | | | | | | | | | | * guix/build/syscalls.scm (<utmpx-entry>): New record type. (%utmpx): New C struct. (login-type): New bits. (setutxent, endutxent, getutxent, utmpx-entries): New procedures.
| * syscalls: Extract 'bytes->string'.Ludovic Courtès2017-01-19
| | | | | | | | | | * guix/build/syscalls.scm (bytes->string): New procedure. (bytevector->string-list): Use it.
* | Merge branch 'master' into python-testsLeo Famulari2017-01-13
|\|
| * gnu: Add ocaml-build-system.Julien Lepiller2017-01-04
| | | | | | | | | | | | | | | | | | * guix/build/ocaml-build-system.scm: New file. * guix/build-system/ocaml.scm: New file. * Makefile.am (MODULES): Add them. * gnu/packages/ocaml.scm (ocaml)[native-search-paths]: Adjuste OCAMLPATH. Signed-off-by: David Craven <david@craven.ch>
| * guix: build: make-bootstrap: Copy libpthread_nonshared.a to the new system.Manolis Ragkousis2017-01-03
| | | | | | | | * guix/build/make-bootstrap.scm (%libc-object-files-rx): Update regexp.
| * syscalls: 'terminal-columns' swallows ENOSYS.Ludovic Courtès2017-01-01
| | | | | | | | * guix/build/syscalls.scm (terminal-columns): Catch ENOSYS.
| * build-system: cargo: Handle Cargo.lock file not present.David Craven2017-01-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/build-system/cargo.scm (cargo-build): Add src output. (private-keywords): Add #:outputs. * guix/build/cargo-build-system.scm (configure): Use /share/rust-source when replacing inputs. (build, check): Don't do anything when there isn't a Cargo.lock file present. (install): Install sources to src output. When a Cargo.lock file is present use cargo install to install binaries to out. * guix/import/crate.scm (make-crate-sexp): Importer uses the src output for crate inputs by default. * guix/import/utils.scm (package-names->package-inputs, maybe-inputs, maybe-native-inputs): Take an optional output argument. * tests/crate.scm (crate->guix-package test): Update. Problem reported by Francisco Gómez García <espectalll@kydara.com>.
| * build-system: cargo: Make Cargo.toml writeable.David Craven2017-01-01
| | | | | | | | | | | | | | * guix/build/cargo-build-system.scm (configure): Make sure Cargo.toml is writeable before attempting modification. Problem reported by Danny Milosavljevic <dannym@scratchpost.org>.
| * download: Protect against dangling symlinks in $SSL_CERT_DIR.Ludovic Courtès2016-12-16
| | | | | | | | | | | | | | | | | | Reported by Christopher Baines <mail@cbaines.net> in <https://bugs.gnu.org/25213>. * guix/build/download.scm (make-credendials-with-ca-trust-files): Check whether FILE exists before calling 'set-certificate-credentials-x509-trust-file!'.
| * build-system: Add cargo build system.David Craven2016-12-14
| | | | | | | | | | | | * guix/build-system/cargo.scm: New file. * guix/build/cargo-build-system.scm: New file. * Makefile.am (MODULES): Add files.
* | build-system/python: Make sure 'check' returns failures.Marius Bakke2016-12-13
|/ | | | | | * guix/build/python-build-system.scm (check): Wrap 'call-setuppy' in 'if' so that it actually fails when the tests fail. Print informational message when skipped.
* Merge remote-tracking branch 'origin/master' into stagingLudovic Courtès2016-12-09
|\
| * gnu: make-bootstrap: Produce the correct %glibc-bootstrap-tarball for Hurd ↵Manolis Ragkousis2016-12-07
| | | | | | | | | | | | | | | | | | | | systems. * gnu/packages/make-bootstrap.scm (%glibc-bootstrap-tarball): Make it a procedure. (%glibc-stripped): Make it a procedure and move the kernel specific part from here to ... * guix/build/make-bootstrap.scm (make-stripped-libc): ... here. New file. * Makefile.am (MODULES): Add it.
* | Merge branch 'master' into stagingMarius Bakke2016-11-30
|\|
| * Merge branch 'master' into python-build-systemHartmut Goebel2016-11-29
| |\
| | * pull: Set '%nix-instantiate' to a sensible value.Ludovic Courtès2016-11-28
| | | | | | | | | | | | | | | | | | | | | | | | Reported by ng0 <ng0@libertad.pw>. Fixes <http://bugs.gnu.org/25053>. * guix/build/pull.scm (build-guix): Replace "@NIX_INSTANTIATE@" in guix/config.scm with "nix-instantiate".
| * | Merge branch 'master' into python-build-systemLeo Famulari2016-11-25
| |\|
| * | guix: python-build-system: Add background about Python installation methods.Hartmut Goebel2016-11-15
| | |
| * | guix: python-build-system: Delete .egg-info file created in phase check.Hartmut Goebel2016-11-15
| | | | | | | | | | | | | | | * guix/build/python-build-system.scm (check): Delete .egg-info dirs which did not exist prior to calling setup.py but afterwards.
| * | guix: python-build-system: Add helpers for getting and setting PYTHONPATH.Hartmut Goebel2016-11-15
| | | | | | | | | | | | | | | * guix/build/python-build-system.scm (add-installed-pythonpath, site-packages): New exported procedures.
| * | guix: python-build-system: Add option "#:use-setuptools?" (default true).Hartmut Goebel2016-11-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/build-system/python.scm (python-build): New keyword argument "#:use-setuptools?", defaulting to #t. * guix/build/python-build-system.scm (call-setup-py): New positional parameter "use-setuptools?". If false, do not use the shim-wrapper for addin setuptools. (build, check): accept keyword- parameter, and pass to call-setuppy. (install): same; if "use-setuptools?" is false, do not use options "--root" and "--single-version-externally-managed" for setup.py. * doc/guix.texi (Build Systems): Document it.
| * | guix: python-build-system: Import setuptools before calling `setup.py'.Marius Bakke2016-11-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is needed for packages using "distutils" instead of "setuptools" since the former does not understand the "--single-version-externally-managed" flag. Also export __file__ since it will be unset when setup.py is called from python "exec". * guix/build/python-build-system.scm (call-setuppy): extend "python setup.py" call to import setuptools, export __file__, and call setup.py from setuptools python environment. Co-Authored-By: Hartmut Goebel <h.goebel@crazy-compilers.com>
| * | guix: build all Python packages with --single-version-externally-managed.Hartmut Goebel2016-11-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This requires setuptools to be installed together with python, which is the case for Python 3 anyway and which we do for our build of Python 2 (see last commit). * guix/build/python-build-system.scm (install): Add "--single-version-externally-managed" and "--root=/" to params to be passed to call-setuppy. Remove thus needless manipulation of PYTHONPATH. Remove now unused argument "inputs".
| * | guix: python-build-system: Fix an outdated comment.Hartmut Goebel2016-11-15
| | |
* | | Merge branch 'master' into stagingLeo Famulari2016-11-23
|\ \ \ | | |/ | |/|
| * | syscalls: Add 'add-network-route/gateway' and 'delete-network-route'.Ludovic Courtès2016-11-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/build/syscalls.scm (SIOCADDRT, SIOCDELRT): New variables. (%rtentry): New C struct. (RTF_UP, RTF_GATEWAY, %sockaddr-any): New variables. (add-network-route/gateway, delete-network-route): New procedures. * tests/syscalls.scm ("add-network-route/gateway") ("delete-network-route"): New tests.
| * | syscalls: Add 'c-struct-field-offset'.Ludovic Courtès2016-11-21
| | | | | | | | | | | | | | | | | | * guix/build/syscalls.scm (define-c-struct-macro): New macro. (define-c-struct): Use it. (c-struct-field-offset): New macro.
| * | syscalls: 'configure-network-interface' has a #:netmask parameter.Ludovic Courtès2016-11-17
| | | | | | | | | | | | | | | * guix/build/syscalls.scm (configure-network-interface): Add #:netmask keyword parameter and honor it.
| * | syscalls: Add bindings for SIOCGIFNETMASK and SIOCSIFNETMASK.Ludovic Courtès2016-11-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/build/syscalls.scm (SIOCGIFNETMASK, SIOCSIFNETMASK): New variables. (set-network-interface-netmask, network-interface-netmask): New procedures. * tests/syscalls.scm ("network-interface-netmask lo") ("set-network-interface-netmask"): New tests.
| * | syscalls: Use 'define-c-struct' for 'struct ifconf'.Ludovic Courtès2016-11-16
| | | | | | | | | | | | | | | | | | | | | | | | * guix/build/syscalls.scm (ifconf-struct): Remove. (%ifconf-struct): New C struct. (network-interface-names): Use 'make-bytevector' and 'write-ifconf!' instead of 'make-c-struct', and 'read-ifconf' instead of 'parse-c-struct'.
| * | syscalls: C struct writer correctly handles pointer fields.Ludovic Courtès2016-11-16
| |/ | | | | | | * guix/build/syscalls.scm (write-type): Add case for '*.
* / guxi: cmake-build-system: Enable output for failing test-cases.Hartmut Goebel2016-11-15
|/ | | | | * guix/build/cmake-build-system.scm (cmake-build-system): Set environment variable CTEST_OUTPUT_ON_FAILURE to an non-empty value.
* Merge branch 'core-updates'Ludovic Courtès2016-11-13
|\
| * Merge branch 'master' into core-updatesMark H Weaver2016-10-19
| |\
| * \ Merge branch 'master' into core-updatesMark H Weaver2016-10-12
| |\ \
| * \ \ Merge branch 'master' into core-updatesLeo Famulari2016-10-05
| |\ \ \
| * \ \ \ Merge branch 'master' into core-updatesLeo Famulari2016-10-03
| |\ \ \ \
| * | | | | build-system/gnu: Add 'patch-dot-desktop-files' phase.John Darrington2016-10-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/build/gnu-build-system.scm (patch-dot-desktop-files): New procedure. (%standard-phases): Add it. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
| * | | | | Merge branch 'master' into core-updatesLudovic Courtès2016-09-30
| |\ \ \ \ \
| * | | | | | build-system/gnu: Do not patch symlinks in the source.Ludovic Courtès2016-09-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a followup to 13a9feb5b64fd819eaed38a17da0284bbe2b8d9. * guix/build/gnu-build-system.scm (patch-source-shebangs): Remove call to 'remove'. Pass a second argument to 'find-files' to filter out symlinks; pass #:stat lstat. (patch-generated-file-shebangs): Likewise, and also filter out non-executable files.
| * | | | | | utils: 'wrap-program' produces only one wrapper file.Ludovic Courtès2016-09-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/build/utils.scm (wrap-program)[wrapper-file-name] [next-wrapper-number, wrapper-target]: Remove. [wrapped-file, already-wrapped?]: New variables. [last-line]: New procedure. Use it to append to PROG when a wrapper already exists. * tests/build-utils.scm ("wrap-program, one input, multiple calls"): Adjust the list of files to delete.
| * | | | | | Merge branch 'master' into core-updatesLudovic Courtès2016-09-02
| |\ \ \ \ \ \
| * | | | | | | build-system/gnu: 'strip' phase lists files in sorted order.Ludovic Courtès2016-09-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a bug whereby the choice between stripping 'libfoo.so.0.1.2' and stripping 'libfoo.so' (the symlink) would be non-deterministic. * guix/build/gnu-build-system.scm (strip)[strip-dir]: Use 'find-files' instead of 'file-system-fold' so that files are picked in deterministic order.