Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HPX 1.10 Failed Linking CXX executable for arm64-osx #6501

Open
AndreyKulikov2022 opened this issue Jun 1, 2024 · 5 comments
Open

HPX 1.10 Failed Linking CXX executable for arm64-osx #6501

AndreyKulikov2022 opened this issue Jun 1, 2024 · 5 comments

Comments

@AndreyKulikov2022
Copy link

AndreyKulikov2022 commented Jun 1, 2024

Expected Behavior

CMakeLists.txt:

cmake_minimum_required(VERSION 3.19)
project(my_hpx)
find_package(HPX REQUIRED)
add_executable(my_hpx main.cpp)
target_link_libraries(my_hpx HPX::hpx HPX::wrap_main HPX::iostreams_component)

main.cpp:

#include <hpx/hpx_main.hpp>
#include <hpx/iostream.hpp>

int main() {
hpx::cout << "Hello, World!\n" << std::flush;
return 0;
}
vcpkg.json
{
"name" : "my-hpx",
"version-string" : "1.0.0",
"builtin-baseline" : "47364fbc300756f64f7876b549d9422d5f3ec0d3",
  "dependencies" : [ {
    "name" : "hpx",
    "version>=" : "1.10.0"
  } ]
}

Expecting it to write "Hello, World!"

Actual Behavior

Linking CXX executable my_hpx
FAILED:

Undefined symbols for architecture arm64:
  "_CFCopyTypeIDDescription", referenced from:
      _hwloc__darwin_look_iokit_cpukinds in libhwloc.a[19](topology-darwin.o)
      _hwloc__darwin_look_iokit_cpukinds in libhwloc.a[19](topology-darwin.o)
      _hwloc__darwin_look_iokit_cpukinds in libhwloc.a[19](topology-darwin.o)
  "_CFDataGetBytes", referenced from:
      _hwloc__darwin_look_iokit_cpukinds in libhwloc.a[19](topology-darwin.o)
      _hwloc__darwin_look_iokit_cpukinds in libhwloc.a[19](topology-darwin.o)
  "_CFDataGetLength", referenced from:
      _hwloc__darwin_look_iokit_cpukinds in libhwloc.a[19](topology-darwin.o)
      _hwloc__darwin_look_iokit_cpukinds in libhwloc.a[19](topology-darwin.o)
      _hwloc__darwin_look_iokit_cpukinds in libhwloc.a[19](topology-darwin.o)
  "_CFDataGetTypeID", referenced from:
      _hwloc__darwin_look_iokit_cpukinds in libhwloc.a[19](topology-darwin.o)
      _hwloc__darwin_look_iokit_cpukinds in libhwloc.a[19](topology-darwin.o)
  "_CFGetTypeID", referenced from:
      _hwloc__darwin_look_iokit_cpukinds in libhwloc.a[19](topology-darwin.o)
      _hwloc__darwin_look_iokit_cpukinds in libhwloc.a[19](topology-darwin.o)
      _hwloc__darwin_look_iokit_cpukinds in libhwloc.a[19](topology-darwin.o)
      _hwloc__darwin_look_iokit_cpukinds in libhwloc.a[19](topology-darwin.o)
      _hwloc__darwin_look_iokit_cpukinds in libhwloc.a[19](topology-darwin.o)
      _hwloc__darwin_look_iokit_cpukinds in libhwloc.a[19](topology-darwin.o)
  "_CFNumberGetTypeID", referenced from:
      _hwloc__darwin_look_iokit_cpukinds in libhwloc.a[19](topology-darwin.o)
  "_CFNumberGetValue", referenced from:
      _hwloc__darwin_look_iokit_cpukinds in libhwloc.a[19](topology-darwin.o)
  "_CFRelease", referenced from:
      _hwloc__darwin_look_iokit_cpukinds in libhwloc.a[19](topology-darwin.o)
      _hwloc__darwin_look_iokit_cpukinds in libhwloc.a[19](topology-darwin.o)
      _hwloc__darwin_look_iokit_cpukinds in libhwloc.a[19](topology-darwin.o)
      _hwloc__darwin_look_iokit_cpukinds in libhwloc.a[19](topology-darwin.o)
      _hwloc__darwin_look_iokit_cpukinds in libhwloc.a[19](topology-darwin.o)
      _hwloc__darwin_look_iokit_cpukinds in libhwloc.a[19](topology-darwin.o)
      _hwloc__darwin_look_iokit_cpukinds in libhwloc.a[19](topology-darwin.o)
      _hwloc__darwin_look_iokit_cpukinds in libhwloc.a[19](topology-darwin.o)
      _hwloc__darwin_look_iokit_cpukinds in libhwloc.a[19](topology-darwin.o)
      _hwloc__darwin_look_iokit_cpukinds in libhwloc.a[19](topology-darwin.o)
      ...
  "_CFStringGetCStringPtr", referenced from:
      _hwloc__darwin_look_iokit_cpukinds in libhwloc.a[19](topology-darwin.o)
      _hwloc__darwin_look_iokit_cpukinds in libhwloc.a[19](topology-darwin.o)
      _hwloc__darwin_look_iokit_cpukinds in libhwloc.a[19](topology-darwin.o)
  "_IOIteratorNext", referenced from:
      _hwloc__darwin_look_iokit_cpukinds in libhwloc.a[19](topology-darwin.o)
  "_IOObjectRelease", referenced from:
      _hwloc__darwin_look_iokit_cpukinds in libhwloc.a[19](topology-darwin.o)
      _hwloc__darwin_look_iokit_cpukinds in libhwloc.a[19](topology-darwin.o)
      _hwloc__darwin_look_iokit_cpukinds in libhwloc.a[19](topology-darwin.o)
      _hwloc__darwin_look_iokit_cpukinds in libhwloc.a[19](topology-darwin.o)
  "_IORegistryEntryFromPath", referenced from:
      _hwloc__darwin_look_iokit_cpukinds in libhwloc.a[19](topology-darwin.o)
  "_IORegistryEntryGetChildIterator", referenced from:
      _hwloc__darwin_look_iokit_cpukinds in libhwloc.a[19](topology-darwin.o)
  "_IORegistryEntrySearchCFProperty", referenced from:
      _hwloc__darwin_look_iokit_cpukinds in libhwloc.a[19](topology-darwin.o)
      _hwloc__darwin_look_iokit_cpukinds in libhwloc.a[19](topology-darwin.o)
      _hwloc__darwin_look_iokit_cpukinds in libhwloc.a[19](topology-darwin.o)
  "___CFConstantStringClassReference", referenced from:
       in libhwloc.a[19](topology-darwin.o)
       in libhwloc.a[19](topology-darwin.o)
       in libhwloc.a[19](topology-darwin.o)
  "_kCFAllocatorDefault", referenced from:
      _hwloc__darwin_look_iokit_cpukinds in libhwloc.a[19](topology-darwin.o)
  "_kIOMainPortDefault", referenced from:
      _hwloc__darwin_look_iokit_cpukinds in libhwloc.a[19](topology-darwin.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.

Steps to Reproduce the Problem

Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake --build /Users/andreykulikov/CLionProjects/my_hpx/cmake-build-debug --target my_hpx -j 10

Specifications

  • HPX Version: 1.10
  • Platform (compiler, OS): arm64-osx, clang 15.0
@hkaiser
Copy link
Member

hkaiser commented Jun 1, 2024

Frankly I wouldn't know what causes this. It looks like hwloc can't find one of its dependencies. Would you have any ideas what this could be caused by?

@AndreyKulikov2022
Copy link
Author

Unfortunately, I don't. I've tried losing all extra dependencies and build on the basic example (updated the issue description). It still fails with the same error.

@srinivasyadav18
Copy link
Contributor

Hi @AndreyKulikov2022, Can you please share the CMakeCache.txt from the build directory.

@AndreyKulikov2022
Copy link
Author

AndreyKulikov2022 commented Jun 3, 2024

Content of `CMakeCache.txt`
 
# This is the CMakeCache file.
# For build in directory: $HOME/CLionProjects/my_hpx/cmake-build-debug
# It was generated by CMake: /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
# VALUE is the current value for the KEY.

########################

EXTERNAL cache entries

########################

//Path to a file.
Asio_INCLUDE_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/include

//Path to a file.
BZIP2_INCLUDE_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/include

//Path to a library.
BZIP2_LIBRARY_DEBUG:FILEPATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/debug/lib/libbz2d.a

//Path to a library.
BZIP2_LIBRARY_RELEASE:FILEPATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/lib/libbz2.a

Boost_CHRONO_LIBRARY_DEBUG:STRING=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/debug/lib/libboost_chrono.a

Boost_CHRONO_LIBRARY_RELEASE:STRING=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/lib/libboost_chrono.a

Boost_CONTEXT_LIBRARY_DEBUG:STRING=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/debug/lib/libboost_context.a

Boost_CONTEXT_LIBRARY_RELEASE:STRING=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/lib/libboost_context.a

//The directory containing a CMake configuration file for Boost.
Boost_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost

//Path to a file.
Boost_INCLUDE_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/include

Boost_IOSTREAMS_LIBRARY_DEBUG:STRING=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/debug/lib/libboost_iostreams.a

Boost_IOSTREAMS_LIBRARY_RELEASE:STRING=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/lib/libboost_iostreams.a

Boost_THREAD_LIBRARY_DEBUG:STRING=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/debug/lib/libboost_thread.a

Boost_THREAD_LIBRARY_RELEASE:STRING=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/lib/libboost_thread.a

//Path to a program.
CMAKE_ADDR2LINE:FILEPATH=CMAKE_ADDR2LINE-NOTFOUND

//Path to a program.
CMAKE_AR:FILEPATH=/Library/Developer/CommandLineTools/usr/bin/ar

//Choose the type of build, options are: None Debug Release RelWithDebInfo
// MinSizeRel ...
CMAKE_BUILD_TYPE:STRING=Debug

//Enable colored diagnostics throughout.
CMAKE_COLOR_DIAGNOSTICS:BOOL=ON

//CXX compiler
CMAKE_CXX_COMPILER:FILEPATH=/Library/Developer/CommandLineTools/usr/bin/c++

//Flags used by the CXX compiler during all build types.
CMAKE_CXX_FLAGS:STRING=

//Flags used by the CXX compiler during DEBUG builds.
CMAKE_CXX_FLAGS_DEBUG:STRING=-g

//Flags used by the CXX compiler during MINSIZEREL builds.
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG

//Flags used by the CXX compiler during RELEASE builds.
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG

//Flags used by the CXX compiler during RELWITHDEBINFO builds.
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG

//C compiler
CMAKE_C_COMPILER:FILEPATH=/Library/Developer/CommandLineTools/usr/bin/cc

//Flags used by the C compiler during all build types.
CMAKE_C_FLAGS:STRING=

//Flags used by the C compiler during DEBUG builds.
CMAKE_C_FLAGS_DEBUG:STRING=-g

//Flags used by the C compiler during MINSIZEREL builds.
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG

//Flags used by the C compiler during RELEASE builds.
CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG

//Flags used by the C compiler during RELWITHDEBINFO builds.
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG

//Path to a program.
CMAKE_DLLTOOL:FILEPATH=CMAKE_DLLTOOL-NOTFOUND

//Flags used by the linker during all build types.
CMAKE_EXE_LINKER_FLAGS:STRING=

//Flags used by the linker during DEBUG builds.
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during MINSIZEREL builds.
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during RELEASE builds.
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during RELWITHDEBINFO builds.
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Enable/Disable output of compile commands during generation.
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=

//Value Computed by CMake.
CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=$HOME/CLionProjects/my_hpx/cmake-build-debug/CMakeFiles/pkgRedirects

//User executables (bin)
CMAKE_INSTALL_BINDIR:PATH=bin

//Read-only architecture-independent data (DATAROOTDIR)
CMAKE_INSTALL_DATADIR:PATH=

//Read-only architecture-independent data root (share)
CMAKE_INSTALL_DATAROOTDIR:PATH=share

//Documentation root (DATAROOTDIR/doc/PROJECT_NAME)
CMAKE_INSTALL_DOCDIR:PATH=

//C header files (include)
CMAKE_INSTALL_INCLUDEDIR:PATH=include

//Info documentation (DATAROOTDIR/info)
CMAKE_INSTALL_INFODIR:PATH=

//Object code libraries (lib)
CMAKE_INSTALL_LIBDIR:PATH=lib

//Program executables (libexec)
CMAKE_INSTALL_LIBEXECDIR:PATH=libexec

//Locale-dependent data (DATAROOTDIR/locale)
CMAKE_INSTALL_LOCALEDIR:PATH=

//Modifiable single-machine data (var)
CMAKE_INSTALL_LOCALSTATEDIR:PATH=var

//Man documentation (DATAROOTDIR/man)
CMAKE_INSTALL_MANDIR:PATH=

//Path to a program.
CMAKE_INSTALL_NAME_TOOL:FILEPATH=/usr/bin/install_name_tool

//C header files for non-gcc (/usr/include)
CMAKE_INSTALL_OLDINCLUDEDIR:PATH=/usr/include

//Install path prefix, prepended onto install directories.
CMAKE_INSTALL_PREFIX:PATH=/usr/local

//Run-time variable data (LOCALSTATEDIR/run)
CMAKE_INSTALL_RUNSTATEDIR:PATH=

//System admin executables (sbin)
CMAKE_INSTALL_SBINDIR:PATH=sbin

//Modifiable architecture-independent data (com)
CMAKE_INSTALL_SHAREDSTATEDIR:PATH=com

//Read-only single-machine data (etc)
CMAKE_INSTALL_SYSCONFDIR:PATH=etc

//Path to a program.
CMAKE_LINKER:FILEPATH=/Library/Developer/CommandLineTools/usr/bin/ld

//No help, variable specified on the command line.
CMAKE_MAKE_PROGRAM:UNINITIALIZED=/Applications/CLion.app/Contents/bin/ninja/mac/ninja

//Flags used by the linker during the creation of modules during
// all build types.
CMAKE_MODULE_LINKER_FLAGS:STRING=

//Flags used by the linker during the creation of modules during
// DEBUG builds.
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during the creation of modules during
// MINSIZEREL builds.
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during the creation of modules during
// RELEASE builds.
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during the creation of modules during
// RELWITHDEBINFO builds.
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Path to a program.
CMAKE_NM:FILEPATH=/Library/Developer/CommandLineTools/usr/bin/nm

//Path to a program.
CMAKE_OBJCOPY:FILEPATH=CMAKE_OBJCOPY-NOTFOUND

//Path to a program.
CMAKE_OBJDUMP:FILEPATH=/Library/Developer/CommandLineTools/usr/bin/objdump

//Build architectures for OSX
CMAKE_OSX_ARCHITECTURES:STRING=

//Minimum OS X version to target for deployment (at runtime); newer
// APIs weak linked. Set to empty string for default value.
CMAKE_OSX_DEPLOYMENT_TARGET:STRING=

//The product will be built against the headers and libraries located
// inside the indicated SDK.
CMAKE_OSX_SYSROOT:PATH=/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk

//Value Computed by CMake
CMAKE_PROJECT_DESCRIPTION:STATIC=

//Value Computed by CMake
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=

//Value Computed by CMake
CMAKE_PROJECT_NAME:STATIC=my_hpx

//Path to a program.
CMAKE_RANLIB:FILEPATH=/Library/Developer/CommandLineTools/usr/bin/ranlib

//Path to a program.
CMAKE_READELF:FILEPATH=CMAKE_READELF-NOTFOUND

//Flags used by the linker during the creation of shared libraries
// during all build types.
CMAKE_SHARED_LINKER_FLAGS:STRING=

//Flags used by the linker during the creation of shared libraries
// during DEBUG builds.
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during the creation of shared libraries
// during MINSIZEREL builds.
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during the creation of shared libraries
// during RELEASE builds.
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during the creation of shared libraries
// during RELWITHDEBINFO builds.
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//If set, runtime paths are not added when installing shared libraries,
// but are added when building.
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO

//If set, runtime paths are not added when using shared libraries.
CMAKE_SKIP_RPATH:BOOL=NO

//Flags used by the linker during the creation of static libraries
// during all build types.
CMAKE_STATIC_LINKER_FLAGS:STRING=

//Flags used by the linker during the creation of static libraries
// during DEBUG builds.
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during the creation of static libraries
// during MINSIZEREL builds.
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during the creation of static libraries
// during RELEASE builds.
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during the creation of static libraries
// during RELWITHDEBINFO builds.
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Path to a program.
CMAKE_STRIP:FILEPATH=/Library/Developer/CommandLineTools/usr/bin/strip

//No help, variable specified on the command line.
CMAKE_TOOLCHAIN_FILE:UNINITIALIZED=$HOME/.vcpkg-clion/vcpkg_hpx/scripts/buildsystems/vcpkg.cmake

//If this value is on, makefiles will be generated without the
// .SILENT directive, and all commands will be echoed to the console
// during the make. This is useful for debugging only. With Visual
// Studio IDE projects all commands are done without /nologo.
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE

//CXX compiler for HPX
HPX_CXX_COMPILER:STRING=/Library/Developer/CommandLineTools/usr/bin/c++

//CXX compiler id for HPX
HPX_CXX_COMPILER_ID:STRING=AppleClang

//CXX compiler version for HPX
HPX_CXX_COMPILER_VERSION:STRING=15.0.0.15000309

//The directory containing a CMake configuration file for HPX.
HPX_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/hpx

//Revision of HPX from Git
HPX_GIT_COMMIT:STRING=unknown

//Path to a file.
Hwloc_INCLUDE_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/include

//Path to a library.
Hwloc_LIBRARY:FILEPATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/debug/lib/libhwloc.a

//Path to a file.
LIBLZMA_INCLUDE_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/include

//Path to a library.
LIBLZMA_LIBRARY_DEBUG:FILEPATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/debug/lib/liblzma.a

//Path to a library.
LIBLZMA_LIBRARY_RELEASE:FILEPATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/lib/liblzma.a

//Executable for running MPI programs.
MPIEXEC_EXECUTABLE:FILEPATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/tools/openmpi/bin/mpiexec

//Maximum number of processors available to run MPI applications.
MPIEXEC_MAX_NUMPROCS:STRING=12

//Flag used by MPI to specify the number of processes for mpiexec;
// the next option will be the number of processes.
MPIEXEC_NUMPROC_FLAG:STRING=-n

//These flags will be placed after all flags passed to mpiexec.
MPIEXEC_POSTFLAGS:STRING=

//These flags will be directly before the executable that is being
// run by mpiexec.
MPIEXEC_PREFLAGS:STRING=

//MPI CXX additional include directories
MPI_CXX_ADDITIONAL_INCLUDE_DIRS:STRING=

//MPI compiler for CXX
MPI_CXX_COMPILER:FILEPATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/tools/openmpi/bin/mpicxx

//MPI CXX compiler wrapper include directories
MPI_CXX_COMPILER_INCLUDE_DIRS:STRING=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/include

//MPI CXX compilation definitions
MPI_CXX_COMPILE_DEFINITIONS:STRING=

//MPI CXX compilation options
MPI_CXX_COMPILE_OPTIONS:STRING=

//Path to a file.
MPI_CXX_HEADER_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/include

//MPI CXX libraries to link against
MPI_CXX_LIB_NAMES:STRING=mpi

//MPI CXX linker flags
MPI_CXX_LINK_FLAGS:STRING=-L$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/lib

//If true, the MPI-2 C++ bindings are disabled using definitions.
MPI_CXX_SKIP_MPICXX:BOOL=OFF

//Location of the mpi library for MPI
MPI_mpi_LIBRARY:FILEPATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/debug/lib/libmpi.dylib

//Arguments to supply to pkg-config
PKG_CONFIG_ARGN:STRING=

//pkg-config executable
PKG_CONFIG_EXECUTABLE:FILEPATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/tools/pkgconf/pkgconf

//Automatically copy dependencies into the output directory for
// executables.
VCPKG_APPLOCAL_DEPS:BOOL=ON

//The directory which contains the installed libraries for each
// triplet
VCPKG_INSTALLED_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed

//The path to the vcpkg manifest directory.
VCPKG_MANIFEST_DIR:PATH=

//Use manifest mode, as opposed to classic mode.
VCPKG_MANIFEST_MODE:BOOL=OFF

//Appends the vcpkg paths to CMAKE_PREFIX_PATH, CMAKE_LIBRARY_PATH
// and CMAKE_FIND_ROOT_PATH so that vcpkg libraries/packages are
// found after toolchain/system libraries/packages.
VCPKG_PREFER_SYSTEM_LIBS:BOOL=OFF

//Enable the setup of CMAKE_PROGRAM_PATH to vcpkg paths
VCPKG_SETUP_CMAKE_PROGRAM_PATH:BOOL=ON

//Vcpkg target triplet (ex. x86-windows)
VCPKG_TARGET_TRIPLET:STRING=arm64-osx

//Trace calls to find_package()
VCPKG_TRACE_FIND_PACKAGE:BOOL=OFF

//Enables messages from the VCPKG toolchain for debugging purposes.
VCPKG_VERBOSE:BOOL=OFF

//(experimental) Automatically copy dependencies into the install
// target directory for executables. Requires CMake 3.14.
X_VCPKG_APPLOCAL_DEPS_INSTALL:BOOL=OFF

//(experimental) Add USES_TERMINAL to VCPKG_APPLOCAL_DEPS to force
// serialization.
X_VCPKG_APPLOCAL_DEPS_SERIALIZED:BOOL=OFF

//Path to a file.
ZLIB_INCLUDE_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/include

//Path to a library.
ZLIB_LIBRARY_DEBUG:FILEPATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/debug/lib/libz.a

//Path to a library.
ZLIB_LIBRARY_RELEASE:FILEPATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/lib/libz.a

//Path to a program.
Z_VCPKG_CL:FILEPATH=Z_VCPKG_CL-NOTFOUND

//The directory which contains the installed libraries for each
// triplet
_VCPKG_INSTALLED_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed

//The directory containing a CMake configuration file for boost_algorithm.
boost_algorithm_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_algorithm

//The directory containing a CMake configuration file for boost_align.
boost_align_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_align

//The directory containing a CMake configuration file for boost_array.
boost_array_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_array

//The directory containing a CMake configuration file for boost_assert.
boost_assert_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_assert

//The directory containing a CMake configuration file for boost_atomic.
boost_atomic_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_atomic

//The directory containing a CMake configuration file for boost_bind.
boost_bind_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_bind

//The directory containing a CMake configuration file for boost_chrono.
boost_chrono_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_chrono

//The directory containing a CMake configuration file for boost_concept_check.
boost_concept_check_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_concept_check

//The directory containing a CMake configuration file for boost_config.
boost_config_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_config

//The directory containing a CMake configuration file for boost_container.
boost_container_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_container

//The directory containing a CMake configuration file for boost_container_hash.
boost_container_hash_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_container_hash

//The directory containing a CMake configuration file for boost_context.
boost_context_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_context

//The directory containing a CMake configuration file for boost_conversion.
boost_conversion_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_conversion

//The directory containing a CMake configuration file for boost_core.
boost_core_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_core

//The directory containing a CMake configuration file for boost_date_time.
boost_date_time_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_date_time

//The directory containing a CMake configuration file for boost_describe.
boost_describe_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_describe

//The directory containing a CMake configuration file for boost_detail.
boost_detail_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_detail

//The directory containing a CMake configuration file for boost_dynamic_bitset.
boost_dynamic_bitset_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_dynamic_bitset

//The directory containing a CMake configuration file for boost_exception.
boost_exception_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_exception

//The directory containing a CMake configuration file for boost_function.
boost_function_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_function

//The directory containing a CMake configuration file for boost_function_types.
boost_function_types_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_function_types

//The directory containing a CMake configuration file for boost_functional.
boost_functional_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_functional

//The directory containing a CMake configuration file for boost_fusion.
boost_fusion_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_fusion

//The directory containing a CMake configuration file for boost_headers.
boost_headers_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_headers

//The directory containing a CMake configuration file for boost_integer.
boost_integer_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_integer

//The directory containing a CMake configuration file for boost_intrusive.
boost_intrusive_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_intrusive

//The directory containing a CMake configuration file for boost_io.
boost_io_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_io

//The directory containing a CMake configuration file for boost_iostreams.
boost_iostreams_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_iostreams

//The directory containing a CMake configuration file for boost_iterator.
boost_iterator_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_iterator

//The directory containing a CMake configuration file for boost_lexical_cast.
boost_lexical_cast_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_lexical_cast

//The directory containing a CMake configuration file for boost_move.
boost_move_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_move

//The directory containing a CMake configuration file for boost_mp11.
boost_mp11_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_mp11

//The directory containing a CMake configuration file for boost_mpl.
boost_mpl_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_mpl

//The directory containing a CMake configuration file for boost_numeric_conversion.
boost_numeric_conversion_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_numeric_conversion

//The directory containing a CMake configuration file for boost_optional.
boost_optional_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_optional

//The directory containing a CMake configuration file for boost_pool.
boost_pool_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_pool

//The directory containing a CMake configuration file for boost_predef.
boost_predef_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_predef

//The directory containing a CMake configuration file for boost_preprocessor.
boost_preprocessor_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_preprocessor

//The directory containing a CMake configuration file for boost_random.
boost_random_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_random

//The directory containing a CMake configuration file for boost_range.
boost_range_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_range

//The directory containing a CMake configuration file for boost_ratio.
boost_ratio_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_ratio

//The directory containing a CMake configuration file for boost_regex.
boost_regex_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_regex

//The directory containing a CMake configuration file for boost_smart_ptr.
boost_smart_ptr_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_smart_ptr

//The directory containing a CMake configuration file for boost_static_assert.
boost_static_assert_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_static_assert

//The directory containing a CMake configuration file for boost_system.
boost_system_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_system

//The directory containing a CMake configuration file for boost_thread.
boost_thread_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_thread

//The directory containing a CMake configuration file for boost_throw_exception.
boost_throw_exception_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_throw_exception

//The directory containing a CMake configuration file for boost_tokenizer.
boost_tokenizer_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_tokenizer

//The directory containing a CMake configuration file for boost_tuple.
boost_tuple_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_tuple

//The directory containing a CMake configuration file for boost_type_traits.
boost_type_traits_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_type_traits

//The directory containing a CMake configuration file for boost_typeof.
boost_typeof_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_typeof

//The directory containing a CMake configuration file for boost_unordered.
boost_unordered_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_unordered

//The directory containing a CMake configuration file for boost_utility.
boost_utility_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_utility

//The directory containing a CMake configuration file for boost_variant2.
boost_variant2_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_variant2

//The directory containing a CMake configuration file for boost_winapi.
boost_winapi_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost_winapi

//Value Computed by CMake
my_hpx_BINARY_DIR:STATIC=$HOME/CLionProjects/my_hpx/cmake-build-debug

//Value Computed by CMake
my_hpx_IS_TOP_LEVEL:STATIC=ON

//Value Computed by CMake
my_hpx_SOURCE_DIR:STATIC=$HOME/CLionProjects/my_hpx

//Path to a library.
pkgcfg_lib_PC_HWLOC_hwloc:FILEPATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/debug/lib/libhwloc.a

//Path to a library.
pkgcfg_lib_PC_HWLOC_m:FILEPATH=/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/lib/libm.tbd

//Path to a library.
pkgcfg_lib_PC_HWLOC_pthread:FILEPATH=/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/lib/libpthread.tbd

//The directory containing a CMake configuration file for zstd.
zstd_DIR:PATH=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/zstd

########################

INTERNAL cache entries

########################

//ADVANCED property for variable: Asio_INCLUDE_DIR
Asio_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: BZIP2_INCLUDE_DIR
BZIP2_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: BZIP2_LIBRARY_DEBUG
BZIP2_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: BZIP2_LIBRARY_RELEASE
BZIP2_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
//Have symbol BZ2_bzCompressInit
BZIP2_NEED_PREFIX:INTERNAL=1
//ADVANCED property for variable: Boost_DIR
Boost_DIR-ADVANCED:INTERNAL=1
//1.71
Boost_MINIMUM_VERSION:INTERNAL=1.71
//ADVANCED property for variable: CMAKE_ADDR2LINE
CMAKE_ADDR2LINE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_AR
CMAKE_AR-ADVANCED:INTERNAL=1
//This is the directory where this CMakeCache.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=$HOME/CLionProjects/my_hpx/cmake-build-debug
//Major version of cmake used to create the current loaded cache
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
//Minor version of cmake used to create the current loaded cache
CMAKE_CACHE_MINOR_VERSION:INTERNAL=26
//Patch version of cmake used to create the current loaded cache
CMAKE_CACHE_PATCH_VERSION:INTERNAL=4
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake
//Path to cpack program executable.
CMAKE_CPACK_COMMAND:INTERNAL=/Applications/CLion.app/Contents/bin/cmake/mac/bin/cpack
//Path to ctest program executable.
CMAKE_CTEST_COMMAND:INTERNAL=/Applications/CLion.app/Contents/bin/cmake/mac/bin/ctest
//ADVANCED property for variable: CMAKE_CXX_COMPILER
CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_COMPILER
CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_DLLTOOL
CMAKE_DLLTOOL-ADVANCED:INTERNAL=1
//Executable file format
CMAKE_EXECUTABLE_FORMAT:INTERNAL=MACHO
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
//Name of external makefile project generator.
CMAKE_EXTRA_GENERATOR:INTERNAL=
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Ninja
//Generator instance identifier.
CMAKE_GENERATOR_INSTANCE:INTERNAL=
//Name of generator platform.
CMAKE_GENERATOR_PLATFORM:INTERNAL=
//Name of generator toolset.
CMAKE_GENERATOR_TOOLSET:INTERNAL=
//Test CMAKE_HAVE_LIBC_PTHREAD
CMAKE_HAVE_LIBC_PTHREAD:INTERNAL=1
//Source directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=$HOME/CLionProjects/my_hpx
//ADVANCED property for variable: CMAKE_INSTALL_BINDIR
CMAKE_INSTALL_BINDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_DATADIR
CMAKE_INSTALL_DATADIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_DATAROOTDIR
CMAKE_INSTALL_DATAROOTDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_DOCDIR
CMAKE_INSTALL_DOCDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_INCLUDEDIR
CMAKE_INSTALL_INCLUDEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_INFODIR
CMAKE_INSTALL_INFODIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LIBDIR
CMAKE_INSTALL_LIBDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LIBEXECDIR
CMAKE_INSTALL_LIBEXECDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LOCALEDIR
CMAKE_INSTALL_LOCALEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LOCALSTATEDIR
CMAKE_INSTALL_LOCALSTATEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_MANDIR
CMAKE_INSTALL_MANDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_NAME_TOOL
CMAKE_INSTALL_NAME_TOOL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_OLDINCLUDEDIR
CMAKE_INSTALL_OLDINCLUDEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_RUNSTATEDIR
CMAKE_INSTALL_RUNSTATEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_SBINDIR
CMAKE_INSTALL_SBINDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_SHAREDSTATEDIR
CMAKE_INSTALL_SHAREDSTATEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_SYSCONFDIR
CMAKE_INSTALL_SYSCONFDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_LINKER
CMAKE_LINKER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_NM
CMAKE_NM-ADVANCED:INTERNAL=1
//number of local generators
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1
//ADVANCED property for variable: CMAKE_OBJCOPY
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_OBJDUMP
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
//Platform information initialized
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RANLIB
CMAKE_RANLIB-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_READELF
CMAKE_READELF-ADVANCED:INTERNAL=1
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_RPATH
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STRIP
CMAKE_STRIP-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_TOOLCHAIN_FILE
CMAKE_TOOLCHAIN_FILE-ADVANCED:INTERNAL=1
//uname command
CMAKE_UNAME:INTERNAL=/usr/bin/uname
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
//Details about finding Asio
FIND_PACKAGE_MESSAGE_DETAILS_Asio:INTERNAL=[$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/include][v1.30.2(1.12.0)]
//Details about finding Boost
FIND_PACKAGE_MESSAGE_DETAILS_Boost:INTERNAL=[$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/share/boost/BoostConfig.cmake][cfound components: iostreams ][v1.85.0(1.71)]
//Details about finding Hwloc
FIND_PACKAGE_MESSAGE_DETAILS_Hwloc:INTERNAL=[$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/debug/lib/libhwloc.a][$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/include][v()]
//Details about finding Threads
FIND_PACKAGE_MESSAGE_DETAILS_Threads:INTERNAL=[TRUE][v()]
//ADVANCED property for variable: Hwloc_INCLUDE_DIR
Hwloc_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Hwloc_LIBRARY
Hwloc_LIBRARY-ADVANCED:INTERNAL=1
LIBLZMA_HAS_AUTO_DECODER:INTERNAL=1
LIBLZMA_HAS_EASY_ENCODER:INTERNAL=1
LIBLZMA_HAS_LZMA_PRESET:INTERNAL=1
//ADVANCED property for variable: LIBLZMA_INCLUDE_DIR
LIBLZMA_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: LIBLZMA_LIBRARY_DEBUG
LIBLZMA_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: LIBLZMA_LIBRARY_RELEASE
LIBLZMA_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: MPIEXEC_EXECUTABLE
MPIEXEC_EXECUTABLE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: MPIEXEC_MAX_NUMPROCS
MPIEXEC_MAX_NUMPROCS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: MPIEXEC_NUMPROC_FLAG
MPIEXEC_NUMPROC_FLAG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: MPIEXEC_POSTFLAGS
MPIEXEC_POSTFLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: MPIEXEC_PREFLAGS
MPIEXEC_PREFLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: MPI_CXX_ADDITIONAL_INCLUDE_DIRS
MPI_CXX_ADDITIONAL_INCLUDE_DIRS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: MPI_CXX_COMPILER
MPI_CXX_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: MPI_CXX_COMPILER_INCLUDE_DIRS
MPI_CXX_COMPILER_INCLUDE_DIRS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: MPI_CXX_COMPILE_DEFINITIONS
MPI_CXX_COMPILE_DEFINITIONS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: MPI_CXX_COMPILE_OPTIONS
MPI_CXX_COMPILE_OPTIONS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: MPI_CXX_HEADER_DIR
MPI_CXX_HEADER_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: MPI_CXX_LIB_NAMES
MPI_CXX_LIB_NAMES-ADVANCED:INTERNAL=1
//ADVANCED property for variable: MPI_CXX_LINK_FLAGS
MPI_CXX_LINK_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: MPI_CXX_SKIP_MPICXX
MPI_CXX_SKIP_MPICXX-ADVANCED:INTERNAL=1
//Result of TRY_COMPILE
MPI_RESULT_CXX_test_mpi_MPICXX:INTERNAL=TRUE
//Result of TRY_COMPILE
MPI_RESULT_CXX_test_mpi_normal:INTERNAL=TRUE
//ADVANCED property for variable: MPI_mpi_LIBRARY
MPI_mpi_LIBRARY-ADVANCED:INTERNAL=1
PC_HWLOC_CFLAGS:INTERNAL=-I$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/debug/lib/pkgconfig/../../../include
PC_HWLOC_CFLAGS_I:INTERNAL=
PC_HWLOC_CFLAGS_OTHER:INTERNAL=
PC_HWLOC_FOUND:INTERNAL=1
PC_HWLOC_INCLUDEDIR:INTERNAL=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/debug/lib/pkgconfig/../../../include
PC_HWLOC_INCLUDE_DIRS:INTERNAL=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/debug/lib/pkgconfig/../../../include
PC_HWLOC_LDFLAGS:INTERNAL=-L$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/debug/lib/pkgconfig/../../lib;-lhwloc;-lm;-lpthread
PC_HWLOC_LDFLAGS_OTHER:INTERNAL=
PC_HWLOC_LIBDIR:INTERNAL=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/debug/lib/pkgconfig/../../lib
PC_HWLOC_LIBRARIES:INTERNAL=hwloc;m;pthread
PC_HWLOC_LIBRARY_DIRS:INTERNAL=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/debug/lib/pkgconfig/../../lib
PC_HWLOC_LIBS:INTERNAL=
PC_HWLOC_LIBS_L:INTERNAL=
PC_HWLOC_LIBS_OTHER:INTERNAL=
PC_HWLOC_LIBS_PATHS:INTERNAL=
PC_HWLOC_MODULE_NAME:INTERNAL=hwloc
PC_HWLOC_PREFIX:INTERNAL=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/debug/lib/pkgconfig/../..
PC_HWLOC_STATIC_CFLAGS:INTERNAL=-I$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/debug/lib/pkgconfig/../../../include
PC_HWLOC_STATIC_CFLAGS_I:INTERNAL=
PC_HWLOC_STATIC_CFLAGS_OTHER:INTERNAL=
PC_HWLOC_STATIC_INCLUDE_DIRS:INTERNAL=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/debug/lib/pkgconfig/../../../include
PC_HWLOC_STATIC_LDFLAGS:INTERNAL=-L$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/debug/lib/pkgconfig/../../lib;-lhwloc;-lm;-lpthread
PC_HWLOC_STATIC_LDFLAGS_OTHER:INTERNAL=
PC_HWLOC_STATIC_LIBDIR:INTERNAL=
PC_HWLOC_STATIC_LIBRARIES:INTERNAL=hwloc;m;pthread
PC_HWLOC_STATIC_LIBRARY_DIRS:INTERNAL=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/debug/lib/pkgconfig/../../lib
PC_HWLOC_STATIC_LIBS:INTERNAL=
PC_HWLOC_STATIC_LIBS_L:INTERNAL=
PC_HWLOC_STATIC_LIBS_OTHER:INTERNAL=
PC_HWLOC_STATIC_LIBS_PATHS:INTERNAL=
PC_HWLOC_VERSION:INTERNAL=2.10.0rc3-git
PC_HWLOC_hwloc_INCLUDEDIR:INTERNAL=
PC_HWLOC_hwloc_LIBDIR:INTERNAL=
PC_HWLOC_hwloc_PREFIX:INTERNAL=
PC_HWLOC_hwloc_VERSION:INTERNAL=
//ADVANCED property for variable: PKG_CONFIG_ARGN
PKG_CONFIG_ARGN-ADVANCED:INTERNAL=1
//ADVANCED property for variable: PKG_CONFIG_EXECUTABLE
PKG_CONFIG_EXECUTABLE-ADVANCED:INTERNAL=1
//Install the dependencies listed in your manifest:
//\n If this is off, you will have to manually install your dependencies.
//\n See https://github.com/microsoft/vcpkg/tree/master/docs/specifications/manifests.md
// for more info.
//\n
VCPKG_MANIFEST_INSTALL:INTERNAL=OFF
//ADVANCED property for variable: VCPKG_VERBOSE
VCPKG_VERBOSE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: ZLIB_INCLUDE_DIR
ZLIB_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: ZLIB_LIBRARY_DEBUG
ZLIB_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: ZLIB_LIBRARY_RELEASE
ZLIB_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
//Making sure VCPKG_MANIFEST_MODE doesn't change
Z_VCPKG_CHECK_MANIFEST_MODE:INTERNAL=OFF
//Vcpkg root directory
Z_VCPKG_ROOT_DIR:INTERNAL=$HOME/.vcpkg-clion/vcpkg_hpx
//CMAKE_INSTALL_PREFIX during last run
_GNUInstallDirs_LAST_CMAKE_INSTALL_PREFIX:INTERNAL=/usr/local
__pkg_config_arguments_PC_HWLOC:INTERNAL=QUIET;hwloc
__pkg_config_checked_PC_HWLOC:INTERNAL=1
//ADVANCED property for variable: pkgcfg_lib_PC_HWLOC_hwloc
pkgcfg_lib_PC_HWLOC_hwloc-ADVANCED:INTERNAL=1
//ADVANCED property for variable: pkgcfg_lib_PC_HWLOC_m
pkgcfg_lib_PC_HWLOC_m-ADVANCED:INTERNAL=1
//ADVANCED property for variable: pkgcfg_lib_PC_HWLOC_pthread
pkgcfg_lib_PC_HWLOC_pthread-ADVANCED:INTERNAL=1
prefix_result:INTERNAL=$HOME/.vcpkg-clion/vcpkg_hpx/installed/arm64-osx/debug/lib/pkgconfig/../../lib

@pingu-73
Copy link

@hkaiser @srinivasyadav18 I think the issue is in the way libhwloc is compiled. CFCopyTypeIDDescription and other CoreFoundation framework functions described in the error are still present in the framework library of macOS.

The reason why I think this is because when you try to run a simple C-code using CoreFoundationFramework you get a similar error.

main.c:

#include <CoreFoundation/CoreFoundation.h>
#include <stdio.h>

int main() {
    CFTypeID stringTypeID = CFStringGetTypeID();
    CFStringRef typeDescription = CFCopyTypeIDDescription(stringTypeID);
    const char *cString = CFStringGetCStringPtr(typeDescription, kCFStringEncodingUTF8);
}

clang version:

Homebrew clang version 18.1.5
Target: arm64-apple-darwin23.5.0
Thread model: posix
InstalledDir: /opt/homebrew/opt/llvm/bin

if i run clang main.c -o main
i would get:

Undefined symbols for architecture arm64:
  "_CFCopyTypeIDDescription", referenced from:
      _main in main-7a0948.o
  "_CFStringGetCStringPtr", referenced from:
      _main in main-7a0948.o
  "_CFStringGetTypeID", referenced from:
      _main in main-7a0948.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

to compile it properly i have to execute clang -framework CoreFoundation main.c -o main

Screenshot 2024-06-21 at 1 57 03 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants