Skip to content

Set PYTHON_INCLUDE_DIR in setup.py and pass it to CMake#647

Merged
NoureldinYosri merged 3 commits into
quantumlib:masterfrom
basnijholt:python-include-dir
Jan 26, 2024
Merged

Set PYTHON_INCLUDE_DIR in setup.py and pass it to CMake#647
NoureldinYosri merged 3 commits into
quantumlib:masterfrom
basnijholt:python-include-dir

Conversation

@basnijholt
Copy link
Copy Markdown
Contributor

Prevents

CMake Error at /home/bas.nijholt/micromamba/envs/qsim/share/cmake-3.27/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find PythonLibs (missing: PYTHON_INCLUDE_DIRS) (Required is at
  least version "3.7")
Call Stack (most recent call first):
  /home/bas.nijholt/micromamba/envs/qsim/share/cmake-3.27/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  /home/bas.nijholt/micromamba/envs/qsim/share/cmake-3.27/Modules/FindPythonLibs.cmake:323 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  pybind_interface/cuda/CMakeLists.txt:18 (find_package)

Prevents
```
      CMake Error at /home/bas.nijholt/micromamba/envs/qsim/share/cmake-3.27/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
        Could NOT find PythonLibs (missing: PYTHON_INCLUDE_DIRS) (Required is at
        least version "3.7")
      Call Stack (most recent call first):
        /home/bas.nijholt/micromamba/envs/qsim/share/cmake-3.27/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
        /home/bas.nijholt/micromamba/envs/qsim/share/cmake-3.27/Modules/FindPythonLibs.cmake:323 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
        pybind_interface/cuda/CMakeLists.txt:18 (find_package)
```
@basnijholt basnijholt changed the title Set PYTHON_INCLUDE_DIR in setup.py Set PYTHON_INCLUDE_DIR in setup.py and pass it to CMake Dec 6, 2023
@NoureldinYosri NoureldinYosri added the kokoro:run Trigger Kokoro builds for this PR. label Jan 25, 2024
@qsim-qsimh-bot qsim-qsimh-bot removed the kokoro:run Trigger Kokoro builds for this PR. label Jan 25, 2024
@NoureldinYosri NoureldinYosri added the kokoro:run Trigger Kokoro builds for this PR. label Jan 25, 2024
@qsim-qsimh-bot qsim-qsimh-bot removed the kokoro:run Trigger Kokoro builds for this PR. label Jan 25, 2024
@NoureldinYosri NoureldinYosri merged commit 3bdec77 into quantumlib:master Jan 26, 2024
basnijholt added a commit to basnijholt/qsimcirq-feedstock that referenced this pull request Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants