Skip to content
Snippets Groups Projects
  1. May 24, 2013
    • Ludovic Courtès's avatar
      build: Add `--target' option. · e55ec43d
      Ludovic Courtès authored
      * guix/scripts/build.scm (derivations-from-package-expressions): Add
        `package-derivation' parameter.
        (show-help, %options): Add `--target'.
        (guix-build): Use `package-cross-derivation' when `--target' is
        passed.
      * tests/guix-build.sh: Add dry-run test with `--target'.
      * doc/guix.texi (Invoking guix build): Document `--target'.
      e55ec43d
    • Ludovic Courtès's avatar
      build-system/gnu: Implement cross build. · 264218a4
      Ludovic Courtès authored
      * guix/build-system/gnu.scm (inputs-search-paths): New procedure.
        (standard-search-paths): Use it.
        (expand-inputs): New procedure.
        (standard-inputs): Use it.
        (standard-cross-packages, standard-cross-inputs,
        standard-cross-search-paths, gnu-cross-build): New procedures.
        (gnu-build-system): Set `cross-build' field to `gnu-cross-build'.
      * gnu/packages/cross-base.scm: Export `cross-gcc', `cross-binutils', and
        `cross-libc'.
      * guix/build/gnu-cross-build.scm: New file.
      * Makefile.am (MODULES): Add it.
      264218a4
    • Ludovic Courtès's avatar
      packages: Implement `package-cross-derivation'. · 9c1edabd
      Ludovic Courtès authored
      * guix/packages.scm (package-transitive-target-inputs,
        package-transitive-native-inputs): New procedures.
        (package-derivation): Parametrize `%current-target-system'.
        (package-cross-derivation): Implement.
      * guix/utils.scm (%current-target-system): New variable.
      * tests/packages.scm ("package-cross-derivation"): New test.
      * doc/guix.texi (Defining Packages): Document
        `package-cross-derivation'.
      9c1edabd
    • Ludovic Courtès's avatar
      gnu: cross-gcc: Set the right search paths. · 17bb886f
      Ludovic Courtès authored
      * gnu/packages/cross-base.scm (cross-gcc): Override `search-paths' and
        `native-search-paths'.
      17bb886f
    • Ludovic Courtès's avatar
      gnu: cross-gcc: Change patch so that `CROSS_LIBRARY_PATH' is honored. · 248d08eb
      Ludovic Courtès authored
      * gnu/packages/patches/gcc-cross-environment-variables.patch: Add two
        hunks, most notably one that changes GCC to honor LIBRARY_PATH_ENV
        when cross-compiling.
      248d08eb
    • Ludovic Courtès's avatar
      packages: Factorize things common to `package-{,cross-}derivation'. · a63062b5
      Ludovic Courtès authored
      * guix/packages.scm (expand-input): New procedure, moved out of...
        (package-derivation): ... here.  Adjust accordingly.
        (package-cross-derivation): Add `cross-system' and `system'
        parameters.
      a63062b5
  2. May 23, 2013
  3. May 22, 2013
  4. May 21, 2013
  5. May 20, 2013
    • Ludovic Courtès's avatar
      Update `NEWS'. · d1495831
      Ludovic Courtès authored
      d1495831
    • Ludovic Courtès's avatar
      gnu: Add CVS. · 1972fed4
      Ludovic Courtès authored
      * gnu/packages/version-control.scm (cvs): New variable.
      1972fed4
    • Ludovic Courtès's avatar
      Add `--max-silent-time' to `guix build' and `guix package'. · 969e678e
      Ludovic Courtès authored
      * guix/scripts/build.scm (%default-options): Add default
        `max-silent-time' value.
        (show-help, %options):  Add `--max-silent-time'.
        (guix-build): Pass `max-silent-time' to `set-build-options'.
      * guix/scripts/package.scm (%default-options): Add default
        `max-silent-time' value.
        (show-help, %options):  Add `--max-silent-time'.
        (guix-package): Pass `max-silent-time' to `set-build-options'.
      * guix/ui.scm (string->number*): New procedure.
      * tests/derivations.scm ("build-expression->derivation and
        max-silent-time"): New test.
      * doc/guix.texi (Invoking guix package, Invoking guix build): Document
        `--max-silent-time'.
      969e678e
  6. May 18, 2013
  7. May 17, 2013
  8. May 16, 2013
  9. May 15, 2013
    • Ludovic Courtès's avatar
      substitute-binary: Pass `filtered-port' an unbuffered port. · 101d9f3f
      Ludovic Courtès authored
      This fixes a bug whereby `read-response' would read more than just the
      response, with the extra data going into the port's buffer; the
      "bzip2 -dc" process spawned by `filtered-port' would not see the those
      buffered data, which are definitely lost, and would bail out with
      "bzip2: (stdin) is not a bzip2 file."
      
      * guix/utils.scm (filtered-port): Document that INPUT must be
        unbuffered.
      * guix/web.scm (http-fetch): Add `buffered?' parameter.  Call
        `open-socket-for-uri' explicitly, and call `setvbuf' when BUFFERED? is
        false.  Pass the port to `http-get'.  Close it upon 301/302.
      * guix/scripts/substitute-binary.scm (fetch): Add `buffered?'
        parameter.  Pass it to `http-fetch'; honor it for `file' URIs.
        (guix-substitute-binary): Call `fetch' with #:buffered? #f for port RAW.
      * tests/utils.scm ("filtered-port, file"): Open FILE as unbuffered.
      101d9f3f
  10. May 14, 2013
  11. May 12, 2013
  12. May 11, 2013
Loading