Anyone else see this with out of tree builds using upstream sources?
It ends up configuring dyninstAPI_RT in the source dir. This is with
vanilla upstream dyninst sources on fc33 (cmake-3.19.7-1.fc33.x86_64)
The top level cmake shows:
DYNINST/src/CMakeLists.txt(105): message(STATUS Configuring
DyninstAPI_RT in DYNINST/bld/dyninstAPI_RT )
-- Configuring DyninstAPI_RT in DYNINST/bld/dyninstAPI_RT
DYNINST/src/CMakeLists.txt(106): file(REMOVE_RECURSE
DYNINST/bld/dyninstAPI_RT/CMakeCache.txt
DYNINST/bld/dyninstAPI_RT/CMakeFiles DYNINST/bld/dyninstAPI_RT/Makefile )
DYNINST/src/CMakeLists.txt(107): file(MAKE_DIRECTORY
DYNINST/bld/dyninstAPI_RT )
DYNINST/src/CMakeLists.txt(108): set(RT_C_COMPILER /usr/lib64/ccache/cc
CACHE STRING Compiler for runtime library )
DYNINST/src/CMakeLists.txt(109): set(ENABLE_STATIC_LIBS NO CACHE STRING
Build static libraries as well? )
DYNINST/src/CMakeLists.txt(110): message(STATUS Configuring RT library )
-- Configuring RT library
DYNINST/src/CMakeLists.txt(112): execute_process(WORKING_DIRECTORY
DYNINST/bld/dyninstAPI_RT COMMAND /usr/bin/cmake
-DCMAKE_C_COMPILER=/usr/lib64/ccache/cc
-DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=DYNINST/install
-DCMAKE_PREFIX_PATH= -DINSTALL_LIB_DIR=DYNINST/install/lib
-DINSTALL_INCLUDE_DIR=DYNINST/install/include -DCMAKE_C_FLAGS=
-fvisibility=hidden -W -Wall -Wpointer-arith -Wcast-qual -Wcast-align
-DBUILD_RTLIB_32=OFF -DPLATFORM=x86_64-unknown-linux2.4 -G Unix
Makefiles DYNINST/src/dyninstAPI_RT )
CMake Deprecation Warning at CMakeLists.txt:3 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future
version of
CMake.
Update the VERSION argument <min> value or use a DYNINST.<max> suffix
to tell
CMake that the project does not need compatibility with older versions.
-- -- Input platform: x86_64-unknown-linux2.4
-- Set arch and platform based definitions
-- Options set
-- Set optimization flags
-- dyninstAPI RT library SOVERSION: 10.2
-- dyninstAPI RT library LIBVERSION: 10.2.1
-- Checking for 32-bit runtime libraryDYNINST.
-- Disabling 32-bit runtime library; change BUILD_RTLIB_32 to ON and
install 32-bit build environment to enable
-- Configuring done
-- Generating done
-- Build files have been written to: DYNINST/src/dyninstAPI_RT
Tracing within dyninstAPI_RT and comparing 10.2.1 to upstream 10.2.1,
the macro expansion is considerably different with 10.2.1 initially
expanding with /usr/share/cmake/Modules/CMakeDetermineSystem.cmake and
upstream with
/work/scox/dyninst/src/dyninstAPI_RT/CMakeFiles/3.19.7/CMakeSystem.cmake
upstream
Build files have been written to: /work/scox/dyninst/src/dyninstAPI_RT
10.2.1
Build files have been written to:
/work/scox/dyn/rh-release/gcctoolset-10/rhel-8.4-test/dyninst-10.2.1-1.el8/BUILD/dyninst-10.2.1/bld/dyninstAPI_RT
|