fix(dl): added dl as a dep

older manylinux systems need dl brought in explicitly
This commit is contained in:
2026-06-12 16:51:55 -04:00
parent 0759ff6d9c
commit 5ea884897d
4 changed files with 10 additions and 4 deletions

View File

@@ -48,7 +48,7 @@ PROJECT_NAME = GridFire
# could be handy for archiving the generated documentation or if some version
# control system is used.
PROJECT_NUMBER = v1.0.0
PROJECT_NUMBER = v1.0.1
# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewers a

View File

@@ -29,8 +29,14 @@ libcppad_static = static_library(
install: false
)
dl_dep = dependency('dl', required: false)
if not dl_dep.found()
dl_dep = cpp.find_library('dl', required: false)
endif
cppad_dep = declare_dependency(
include_directories: cppad_incs
include_directories: cppad_incs,
dependencies: dl_dep.found() ? [dl_dep] : [],
)
message('Staging vendored CppAD headers for ' + gridfire_vendor_includedir)

View File

@@ -18,7 +18,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# *********************************************************************** #
project('GridFire', ['c', 'cpp'], version: 'v1.0.0', default_options: ['cpp_std=c++23'], meson_version: '>=1.5.0')
project('GridFire', ['c', 'cpp'], version: 'v1.0.1', default_options: ['cpp_std=c++23'], meson_version: '>=1.5.0')
gridfire_args = []

View File

@@ -45,7 +45,7 @@ do
BUILD_WHEEL_DIR="$(mktemp -d)"
CC=clang CXX=clang++ "$PY" -m pip wheel . \
--no-deps --config-settings=setup-args=-Dunity=on \
--no-deps \
-w "$BUILD_WHEEL_DIR" -vv
CURRENT_WHEEL="$(find "$BUILD_WHEEL_DIR" -name "*.whl" | head -n1)"