Commit d959ecc1 authored by Thomas Vincent's avatar Thomas Vincent
Browse files

Install OpenCL headers for python3.9

parent 5fc0d653
Pipeline #38240 canceled with stages
in 2 minutes and 33 seconds
......@@ -204,12 +204,6 @@ manylinux1_test_cp38:
dependencies:
- manylinux1_wheels
manylinux1_test_cp39:
<<: *test_template_defintion
extends: .manylinux2014_cp39_base
dependencies:
- manylinux1_wheels
manylinux2014_test_cp35:
<<: *test_template_defintion
......@@ -235,8 +229,33 @@ manylinux2014_test_cp38:
dependencies:
- manylinux2014_wheels
.test_template_py39: &test_template_defintion_py39
stage: test
variables:
WITH_GL_TEST: "False"
script:
# Need OpenCL headers for now to build
- git clone --depth 1 https://github.com/KhronosGroup/OpenCL-Headers
- cp -r OpenCL-Headers/CL /usr/include/
# Install pyopencl build dependencies first
- pip install numpy pybind11
# Install pyopencl first to use a wheel from silx.org under Windows
- pip install --find-links http://www.silx.org/pub/wheelhouse/ --trusted-host www.silx.org --prefer-binary pyopencl
- pip install --pre --find-links artifacts/ --only-binary silx silx[full]
- python -c "import silx.test, sys; sys.exit(silx.test.run_tests());"
- pip uninstall -y PyQt5
- pip install PySide2
- python -c "import silx.test, sys; sys.exit(silx.test.run_tests());"
allow_failure: true
manylinux1_test_cp39:
<<: *test_template_defintion_py39
extends: .manylinux2014_cp39_base
dependencies:
- manylinux1_wheels
manylinux2014_test_cp39:
<<: *test_template_defintion
<<: *test_template_defintion_py39
extends: .manylinux2014_cp39_base
dependencies:
- manylinux2014_wheels
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment