Skip to content
This repository was archived by the owner on Jul 31, 2024. It is now read-only.

Modifications for conda-forge distribution #212

Merged
merged 5 commits into from
Jul 6, 2021
Merged

Conversation

jrmadsen
Copy link
Collaborator

@jrmadsen jrmadsen commented Jul 6, 2021

The vast majority of these updates are to CMake

  • Ability to build with static libraries: python bindings, mpip library, mallocp library, ompt library, ncclp library
  • Setting TIMEMORY_BUILD_PYTHON to OFF now results in searching for external pybind11 install
  • Moved ArchConfig.cmake to ConfigCpuArch.cmake
  • Moved CUDAConfig.cmake to ConfigCUDA.cmake
  • Moved CaliperDepends.cmake to ConfigCaliper.cmake
  • Moved PythonConfig.cmake to ConfigPython.cmake
  • Updated caliper and gotcha submodules to support {CALIPER,GOTCHA}_INSTALL_{CONFIG,HEADER} options
  • Disabled C flag checks when TIMEMORY_BUILD_C is OFF
  • Added TIMEMORY_INSTALL_PYTHON option (default: auto)
    • global: force install to ${Python3_SITEARCH}
    • lib: force install to ${CMAKE_INSTALL_PREFIX}/lib/python<VERSION>/site-packages
    • prefix: force install to ${CMAKE_INSTALL_PREFIX}
    • auto: use global if writable, otherwise lib
  • Fixed BUILD_STATIC_LIBS=ON + CMAKE_POSITION_INDEPENDENT_CODE=ON
  • Fixed TIMEMORY_USE_CUDA=ON + TIMEMORY_REQUIRE_PACKAGES=ON to fail
  • If TIMEMORY_REQUIRED_PACKAGES=OFF, search for packages first before adding submodule
  • Extended setup.py to support more options and support non-development install (no headers or cmake config)
  • Removed TIMEMORY_EMBED_PYTHON option
  • Disable timemory-jump when no shared libraries are built since dlopen isn't possible

@jrmadsen jrmadsen merged commit 3f14f5d into develop Jul 6, 2021
@jrmadsen jrmadsen deleted the conda-forge-updates branch July 6, 2021 18:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant