You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sandbox:${WORKSPACE}/srcdir/asl #
cmake -B build -DCMAKE_INSTALL_PREFIX=$prefix \
-DCMAKE_TOOLCHAIN_FILE=${CMAKE_TARGET_TOOLCHAIN} \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_ASL_EXAMPLES=OFF \
-DBUILD_SHARED_LIBS=ON \
-DBUILD_MT_LIBS=ON \
-DBUILD_CPP=OFF \
-DBUILD_F2C=OFF \
-DUSE_LTO=OFF
Re-run cmake no build system arguments
-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /opt/bin/x86_64-linux-gnu-libgfortran5-cxx11/x86_64-linux-gnu-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /opt/bin/x86_64-linux-gnu-libgfortran5-cxx11/x86_64-linux-gnu-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
Defaulting to 64 bits build. To build 32 bits binaries on a 64 bits compiler, define the architecture of the build, calling CMake with the parameter -DARCH=32
-- System: Linux-6.8.0-47-generic
-- Build type: GNU
-- Compiler version: 10.2.0
-- Generator version: Unix Makefiles
-- Platform toolset:
-- Architecture: x86_64
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of double
-- Check size of double - done
-- Check size of long
-- Check size of long - done
-- Check size of int
-- Check size of int - done
-- Check size of struct { double d; int L; }[2]
-- Check size of struct { double d; int L; }[2] - done
-- Check size of long long
-- Check size of long long - done
-- Check size of size_t
-- Check size of size_t - done
-- Check size of ssize_t
-- Check size of ssize_t - done
-- Found ASL version: 20231111
-- Looking for strtoull
-- Looking for strtoull - found
-- Looking for getrusage
-- Looking for getrusage - found
-- Building shared asl library
-- Building shared asl2 library
-- Building shared asl-mt library
-- Building shared asl2-mt library
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- Configuring done
CMake Error at CMakeLists.txt:315 (add_library):
Cannot find source file:
/workspace/srcdir/asl/build/include/arith.h
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h
.hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc
Call Stack (most recent call first):
CMakeLists.txt:382 (createSingleASL)
CMake Error at CMakeLists.txt:315 (add_library):
No SOURCES given to target: asl-mt
Call Stack (most recent call first):
CMakeLists.txt:382 (createSingleASL)
CMake Error at CMakeLists.txt:315 (add_library):
No SOURCES given to target: asl2
Call Stack (most recent call first):
CMakeLists.txt:370 (createSingleASL)
CMake Error at CMakeLists.txt:315 (add_library):
No SOURCES given to target: asl
Call Stack (most recent call first):
CMakeLists.txt:368 (createSingleASL)
CMake Error at CMakeLists.txt:315 (add_library):
No SOURCES given to target: asl2-mt
Call Stack (most recent call first):
CMakeLists.txt:384 (createSingleASL)
CMake Generate step failed. Build files cannot be regenerated correctly.
AMPL can't find build/include/arith.h because the file is in build/arith.h.
sandbox:${WORKSPACE}/srcdir/asl # ls build/
CMakeCache.txt CMakeFiles arch.c arith.h include
sandbox:${WORKSPACE}/srcdir/asl #
The text was updated successfully, but these errors were encountered:
AMPL can't find
build/include/arith.h
because the file is inbuild/arith.h
.The text was updated successfully, but these errors were encountered: