#48090 closed defect (fixed)
mpich-* @3.1.4: "ccache" and "distcc" get written into wrapper scripts
Description
The MPICH wrapper scripts remember the compilers used to create them.
# Default settings for compiler, flags, and libraries. # Determined by a combination of environment variables and tests within # configure (e.g., determining whehter -lsocket is needee) CC="/opt/local/bin/gcc-mp-5"
If a user has enabled configureccache
or configuredistcc
, then that will get baked into the wrapper scripts as well.
CC="ccache /opt/local/bin/gcc-mp-5"
This is undesirable; I ran into problems accessing the ccache cache while trying to compile other ports. I’ve attached a patch that fixes this by disabling the use of ccache and distcc. (I don’t know whether all the revbumps are necessary.)
Attachments (1)
Change History (4)
Changed 9 years ago by larryv (Lawrence Velázquez)
Attachment: | mpich.patch added |
---|
comment:1 Changed 9 years ago by larryv (Lawrence Velázquez)
Keywords: | haspatch added |
---|---|
Version: | 2.3.3 |
comment:2 Changed 9 years ago by larryv (Lawrence Velázquez)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
maintainer timeout, r137950