Skip to content

Fix CMake for vexcl with CMAKE_DISABLE_FIND_PACKAGE_OpenCL=OFF#6949

Merged
SoilRos merged 2 commits intoOPM:masterfrom
blattms:bugfix/fix-build-vexcl-without-opencl
Mar 27, 2026
Merged

Fix CMake for vexcl with CMAKE_DISABLE_FIND_PACKAGE_OpenCL=OFF#6949
SoilRos merged 2 commits intoOPM:masterfrom
blattms:bugfix/fix-build-vexcl-without-opencl

Conversation

@blattms
Copy link
Copy Markdown
Member

@blattms blattms commented Mar 18, 2026

In that case using vexcl does not make sense. Hence we switch it off.

Closes #6948

@blattms blattms added the manual:irrelevant This PR is a minor fix and should not appear in the manual label Mar 18, 2026
@blattms blattms changed the title Fix CMake for vexcl with CMAKE_DISABLE_FIND_PACKAGE_OpenCL=OB Fix CMake for vexcl with CMAKE_DISABLE_FIND_PACKAGE_OpenCL=OFF Mar 18, 2026
@blattms blattms force-pushed the bugfix/fix-build-vexcl-without-opencl branch from a1ea7bf to 26bc4fd Compare March 18, 2026 17:59
@blattms
Copy link
Copy Markdown
Member Author

blattms commented Mar 18, 2026

jenkins build this please

Comment thread CMakeLists.txt Outdated
In that case using vexcl does not make sense as we only want to
use the OpenCL backend. Hence we switch it off completely.
@blattms blattms force-pushed the bugfix/fix-build-vexcl-without-opencl branch from 26bc4fd to 5aaa55f Compare March 19, 2026 11:56
@blattms
Copy link
Copy Markdown
Member Author

blattms commented Mar 19, 2026

jenkins build this please

Comment thread CMakeLists.txt
@SoilRos SoilRos merged commit 0b0fe4a into OPM:master Mar 27, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

manual:irrelevant This PR is a minor fix and should not appear in the manual

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build broken with CMAKE_DISABLE_FIND_PACKAGE_OpenCL=ON.

3 participants