[Flexiblesusy-commits] [FlexibleSUSY/FlexibleSUSY] bd5ee6: Use the CPATH environment variable to search for h...

GitHub noreply at github.com
Tue Jan 17 22:51:20 GMT 2017


  Branch: refs/heads/development
  Home:   https://github.com/FlexibleSUSY/FlexibleSUSY
  Commit: bd5ee688fd591cfbb9fcf2ca00b96d2d710d82f3
      https://github.com/FlexibleSUSY/FlexibleSUSY/commit/bd5ee688fd591cfbb9fcf2ca00b96d2d710d82f3
  Author: JP-Ellis <josh at jpellis.me>
  Date:   2017-01-18 (Wed, 18 Jan 2017)

  Changed paths:
    M configure

  Log Message:
  -----------
  Use the CPATH environment variable to search for headers

The `$CPATH` and `$CPLUS_INCLUDE_PATH` are environment variables which can be
used to indicate additional locations for headers (for example, if they are
installed in `~/.local/include`).

The commit also changes looks the Eigen headers in the `eigen3` subdirectory of
all default include paths (so for example, it will search in
`~/.local/include/eigen3`).

Lastly, this commit should support paths with spaces.  It does this by changing
the default separator to `:` in for loops.  This is done by setting the `IFS`
variable, though care must be taken to unset it afterwards (both within the
loop, and after the loop in case the for-loop has no elements).

Signed-off-by: JP-Ellis <josh at jpellis.me>


  Commit: 20fe50353b3e958e4c70996b83185a3eee17edd9
      https://github.com/FlexibleSUSY/FlexibleSUSY/commit/20fe50353b3e958e4c70996b83185a3eee17edd9
  Author: Alexander Voigt <Expander at users.noreply.github.com>
  Date:   2017-01-17 (Tue, 17 Jan 2017)

  Changed paths:
    M configure

  Log Message:
  -----------
  Merge pull request #11 from JP-Ellis/development

Use the CPATH environment variable to search for headers
and handle whitespace in directory names correctly.


Compare: https://github.com/FlexibleSUSY/FlexibleSUSY/compare/92e45c5b95e6...20fe50353b3e


More information about the Flexiblesusy-commits mailing list