Skip to content

Commit

Permalink
Use shared libs for CI to please delocate. :sigh:
Browse files Browse the repository at this point in the history
  • Loading branch information
thorstenhater committed Jun 3, 2024
1 parent fc2be57 commit 28b1039
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,12 @@ if(${Python3_FOUND})
message(STATUS "PYTHON_EXECUTABLE: ${PYTHON_EXECUTABLE}")
endif()

# Shared / Dynamic?
# If set from outside, use that.
# If we are in wheel mode, default to shared for Python reasons.
if(NOT DEFINED BUILD_SHARED_LIBS)
set(BUILD_SHARED_LIBS ${DEFINED ENV{CIBUILDWHEEL}} CACHE STRING "Build shared libraries?")
endif()

# Threading model
#-----------------
Expand Down
2 changes: 0 additions & 2 deletions arbor/network.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
#include <cstdint>
#include <memory>
#include <optional>
#include <type_traits>
#include <variant>
#include <vector>

#include "backends/rand_impl.hpp"
Expand Down

0 comments on commit 28b1039

Please sign in to comment.