Skip to content

Commit

Permalink
Try to handle conan setup from cmakelists
Browse files Browse the repository at this point in the history
  • Loading branch information
gadial committed Feb 4, 2025
1 parent 0efdddc commit d48dc2d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ endif()
# Looking for external libraries
#
set(BACKEND_REDIST_DEPS "") # List of redistributable dependencies
execute_process(COMMAND conan profile detect --force)
setup_dependencies()

# If we do not set them with a space CMake fails afterwards if nothing is set for this vars!
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ test-command = "python {project}/tools/verify_wheels.py"
# Numpy 1.22 there are no i686 wheels, so we force pip to use older ones without
# restricting any dependencies that Numpy and Scipy might have.
before-test = "pip install --only-binary=numpy,scipy numpy scipy"
before-build = "pip install conan && conan profile detect --force"

[tool.cibuildwheel.linux]
before-all = "sed -i -e 's/^mirrorlist/#mirrorlist/' -e 's/^#baseurl/baseurl/' -e 's/mirror.centos.org/vault.centos.org/' /etc/yum.repos.d/*.repo && yum install -y openblas-devel"
Expand Down

0 comments on commit d48dc2d

Please sign in to comment.