Skip to content
Snippets Groups Projects
  1. Dec 04, 2020
  2. Nov 09, 2020
  3. Nov 02, 2020
  4. Oct 22, 2020
  5. Oct 03, 2020
    • Gaël Bonithon's avatar
      xdt-autogen: Various small improvements · ec0295a9
      Gaël Bonithon authored
      - quoting
      - replace backticks with $()
      - replace 'test "x$var"' with 'test "$var"'
      - replace $(pwd) with $PWD
      - simplify the command to search for languages
      - do not use subshell when unneeded
      - do not use redirection when unneeded
      - directly test command exit codes instead of using $?
      - readability (useless ";", indenting)
      ec0295a9
    • Gaël Bonithon's avatar
      xdt-autogen: Properly handle whitespaces in filenames · 72483f0e
      Gaël Bonithon authored
      and more generally special characters different from '\1'.
      
      This is achieved by replacing the filename separator ' ' with '\1' in
      lookup_configure_ac_*(), and the default IFS=' \t\n' with IFS='\1', but
      only where necessary: the default IFS is usually required for things to
      go as expected.
      
      So we have to do an IFS round-trip substitution around each "for" loop
      on filenames, just before and just after pathname expansion by the
      shell.
      
      Additionally, when running $XDT_PROG_ACLOCAL, one has to define some
      new variables ACLOCAL_DIR and use conditional parameter expansion, to
      properly set the program flags:
      $XDT_PROG_ACLOCAL ${ACLOCAL_DIR:+-I "$ACLOCAL_DIR"}
      
      Finally, one has to take care of some non optional quoting
      (strictly speaking, some are optional in this commit, but I preferred
      not to cut as close as possible and to keep an overall coherence).
      72483f0e
    • Gaël Bonithon's avatar
      xdt-autogen: Use sed instead of tr to replace strings · 3e01e213
      Gaël Bonithon authored
      The purpose of the current code seems to be to replace the strings
      '\t', '\n' and '\\' by a single space ' ', not the characters
      "horizontal tab", "line feed" and "backslash" by a single space.
      
      So the right command to do this is sed, not tr, which doesn't do the
      job expected here.
      3e01e213
  6. Sep 18, 2020
  7. Jul 18, 2020
  8. Jul 12, 2020
  9. Jul 09, 2020
  10. Jul 08, 2020
  11. Jul 07, 2020
  12. Jun 24, 2020
  13. Jun 18, 2020
  14. Jun 16, 2020
  15. Jun 11, 2020
  16. Jun 04, 2020
  17. May 26, 2020
    • Natanael Copa's avatar
      ci/build_libs.sh: update configure options · 4531a96c
      Natanael Copa authored
      Remove --build and --host since they are only needed for crosscompile.
      Native builds don't need those and they will not work in case someone
      tries build on 32bit.
      
      Also add envronment variables for libdir and libexecdir so the
      debian/ubuntu specific lib(exec)dir can be overridden.
      4531a96c
    • Natanael Copa's avatar
      ci/build_libs.sh: use all cores for build · 9747681d
      Natanael Copa authored
      Use all cores from `nproc` rather than hardcode parallel jobs to 8.
      
      Allow overide this via environment variable NPROC:
        `docker build --build-arg NPROC=2 ...`
      9747681d
Loading