mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Adjust uses of C{,PLUS}_INCLUDE_PATH for GCC 7.
These variables are no longer set in the build environment by default. GCC still respects these search paths and treats them as "system headers" so we can continue to use them, just not expect them to be available. * gnu/packages/mpi.scm (openmpi)[arguments]: Do not attempt to read from C_INCLUDE_PATH, nor CPLUS_INCLUDE_PATH. * gnu/packages/games.scm (kiki)[arguments]: Likewise. * gnu/packages/networking.scm (hcxtools)[arguments]: Likewise. * gnu/packages/synergy.scm (synergy)[arguments]: Likewise. * gnu/packages/bioinformatics.scm (gemma, sailfish)[arguments]: Likewise. * gnu/packages/maths.scm (dune-alugrid)[arguments]: Likewise.
This commit is contained in:
parent
ad60a3484c
commit
97149c5767
6 changed files with 8 additions and 18 deletions
|
@ -217,12 +217,10 @@ bind processes, and much more.")
|
|||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(setenv "C_INCLUDE_PATH"
|
||||
(string-append (assoc-ref inputs "opensm")
|
||||
"/include/infiniband/:"
|
||||
(getenv "C_INCLUDE_PATH")))
|
||||
"/include/infiniband"))
|
||||
(setenv "CPLUS_INCLUDE_PATH"
|
||||
(string-append (assoc-ref inputs "opensm")
|
||||
"/include/infiniband/:"
|
||||
(getenv "CPLUS_INCLUDE_PATH")))
|
||||
"/include/infiniband"))
|
||||
#t))
|
||||
(add-before 'build 'remove-absolute
|
||||
(lambda _
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue