-
Notifications
You must be signed in to change notification settings - Fork 5
build issue during cmake phase of Spack build #6
Copy link
Copy link
Closed
Description
Trying to build ALPS with spack: spack/spack#48183
running into this issue during cmake phase:
5 errors found in build log:
94
95 with mis-matching arguments.
96 This warning is for project developers. Use -Wno-dev to suppress it.
97
98 -- tebd will not be built
99 -- Configuring done
>> 100 CMake Error at src/boost/CMakeLists.txt:347 (add_library):
101 No SOURCES given to target: boost_test_exec_monitor
102
103
>> 104 CMake Error at src/boost/CMakeLists.txt:303 (add_library):
105 No SOURCES given to target: boost
106
107
>> 108 CMake Error at src/boost/CMakeLists.txt:306 (add_library):
109 No SOURCES given to target: boost_python
110
111
>> 112 CMake Error at src/boost/CMakeLists.txt:346 (add_library):
113 No SOURCES given to target: boost_unit_test_framework
114
115
>> 116 CMake Error at src/boost/CMakeLists.txt:348 (add_library):
117 No SOURCES given to target: boost_prg_exec_monitor
118
119
120 CMake Generate step failed. Build files cannot be regenerated correctly.
Could use some help to debug this.
Note that spack builds boost from scratch, and installs at its own prefix. Accordingly, Boost_ROOT_DIR is set to the include directory in this prefix like:
/path/to/spack-0.23.0/opt/spack/linux-linuxmint21-skylake/gcc-11.4.0/boost-1.82.0-2kdnnwouauqgq4cfc6ysyim5yktnhk5r/include
which contains boost directory and the headers. based on past experience, this seems to working fine.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done