FreeBSD Bugzilla – Attachment 238311 Details for
Bug 267971
devel/cmake-core: cmake doesn't respect PATH when it resolves CMAKE_CXX_COMPILER for g++11
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
cmake-PATH.shar
cmake-PATH.shar (text/plain), 1.27 KB, created by
Yuri Victorovich
on 2022-11-24 18:24:40 UTC
(
hide
)
Description:
cmake-PATH.shar
Filename:
MIME Type:
Creator:
Yuri Victorovich
Created:
2022-11-24 18:24:40 UTC
Size:
1.27 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># cmake ># cmake/run.sh ># cmake/CMakeLists.txt ># >echo c - cmake >mkdir -p cmake > /dev/null 2>&1 >echo x - cmake/run.sh >sed 's/^X//' >cmake/run.sh << '3f4da69d338ee7b255668fe53152171f' >Xrm -f CMakeCache.txt >X >X >X## >X## BAD: CMAKE_PREFIX_PATH="/usr/local" causes CMAKE_CXX_COMPILER to be /usr/local/bin/g++11 >X## >X >XPATH=/usr/local/libexec/ccache:/usr/bin:/usr/local/bin CMAKE_PREFIX_PATH="/usr/local" \ >X\ >Xcmake -DCMAKE_CXX_COMPILER:STRING="g++11" . >X >X >X## >X## GOOD: CMAKE_CXX_COMPILER=/usr/local/libexec/ccache/g++11 as it should be >X## >X >X#PATH=/usr/local/libexec/ccache:/usr/bin:/usr/local/bin \ >X#\ >X#cmake -DCMAKE_CXX_COMPILER:STRING="g++11" . >3f4da69d338ee7b255668fe53152171f >echo x - cmake/CMakeLists.txt >sed 's/^X//' >cmake/CMakeLists.txt << 'f808c5dde690cfe904903e625de2aa48' >Xmessage("(1) PATH=$ENV{PATH}") >Xmessage("(1) CMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}") >X >Xproject(psi4 LANGUAGES C CXX) >X >Xmessage("(2) PATH=$ENV{PATH}") >Xmessage("(2) CMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}") >f808c5dde690cfe904903e625de2aa48 >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 267971
: 238311