-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build integrated OpenCL Linux wheel in CI
- Loading branch information
1 parent
6ae3076
commit 87afe60
Showing
4 changed files
with
22 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# `test_cpu_and_gpu_work` needs to be executed before any of the dask tests | ||
# because the AMD OpenCL driver won't load on Ubuntu 14.04 otherwise. | ||
# We simply make it first here. | ||
|
||
def pytest_collection_modifyitems(session, config, items): | ||
for index, item in enumerate(tuple(items)): | ||
if item.name == 'test_cpu_and_gpu_work': | ||
items.insert(0, items.pop(index)) | ||
return |