diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3d622b7ba8b5790d8931a7972f9e6d7f2cb8389b..58c1ed2e09100f73e1b5f56aca62cf8bc28eb7e0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -257,6 +257,10 @@ Pylint: script: - EXTRA_INSTALL="pybind11 numpy mako" - py_version=3.6 + - # After installation, PyOpenCL cannot be used from the source directory due + - # to package shadowing. To work around this, build in editable mode so there + - # is only one copy of everything. + - PROJECT_INSTALL_FLAGS="--editable" - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/prepare-and-run-pylint.sh - ". ./prepare-and-run-pylint.sh pyopencl test/test_*.py" tags: