Skip to content

Set up CI for Python package with GitHub Actions #360

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
cf8ccb8
Create .github/workflows/python-pachage.yml
PokhodenkoSA Mar 30, 2021
40e1a9e
Install Cython
PokhodenkoSA Mar 30, 2021
9a2eb81
Install numpy
PokhodenkoSA Mar 30, 2021
43c731e
Rename python-package.yml
PokhodenkoSA Mar 30, 2021
78e40fb
Install oneAPI
PokhodenkoSA Mar 30, 2021
a8955ce
Save cache
PokhodenkoSA Mar 30, 2021
321905b
Install in Development Mode
PokhodenkoSA Mar 30, 2021
f1b0c1b
Source DPC++ compiler environment
PokhodenkoSA Mar 30, 2021
d10a738
Disable DPCTL_ENABLE_LO_PROGRAM_CREATION
PokhodenkoSA Mar 30, 2021
ce3af13
Clean oneAPI cache
PokhodenkoSA Mar 30, 2021
2b2f991
Checkout with history
PokhodenkoSA Mar 30, 2021
74fdda5
Rub pytest
PokhodenkoSA Mar 30, 2021
d1a62dc
Install pytest-cov
PokhodenkoSA Mar 30, 2021
15b3de8
Source DPC++ compiler env for testing for fixing error with libsycl.so
PokhodenkoSA Mar 30, 2021
99127bb
Create TODOs
PokhodenkoSA Mar 30, 2021
94a82bf
Creare tmate.yml
PokhodenkoSA Mar 31, 2021
1fd28b8
Use tmate in python-package.yml
PokhodenkoSA Mar 31, 2021
dcde836
Run tmate before pytest
PokhodenkoSA Mar 31, 2021
605ec59
Update to onaAPI 2021.2
PokhodenkoSA Apr 2, 2021
cedaaad
Disable testing
PokhodenkoSA Apr 2, 2021
ce7f041
Use only Python 3.7
PokhodenkoSA Apr 2, 2021
c922b25
Enable pytest
PokhodenkoSA Apr 2, 2021
27402d7
Enable tmate
PokhodenkoSA Apr 2, 2021
3fc0ac9
Activate TBB environment for pytest
PokhodenkoSA Apr 2, 2021
08f3bbf
Disable tmate
PokhodenkoSA Apr 2, 2021
ffbf5bf
Clean code
PokhodenkoSA Apr 2, 2021
b26d778
Remove tmate
PokhodenkoSA Apr 2, 2021
31168c0
Add Python 3.8 and 3.9
PokhodenkoSA Apr 2, 2021
5a02f75
Trigger on PR and push to master
PokhodenkoSA Apr 2, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Disable DPCTL_ENABLE_LO_PROGRAM_CREATION
  • Loading branch information
PokhodenkoSA committed Apr 2, 2021
commit d10a7383fe10f5ec82d102944f056d6b00476008
2 changes: 1 addition & 1 deletion scripts/build_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"-DDPCPP_INSTALL_DIR=" + DPCPP_ROOT,
"-DCMAKE_C_COMPILER:PATH=" + os.path.join(DPCPP_ROOT, "bin", "clang"),
"-DCMAKE_CXX_COMPILER:PATH=" + os.path.join(DPCPP_ROOT, "bin", "dpcpp"),
"-DDPCTL_ENABLE_LO_PROGRAM_CREATION=ON",
# "-DDPCTL_ENABLE_LO_PROGRAM_CREATION=ON",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is blocker for the PR and should be fixed before merging this PR.
LevelZero is not available.

Copy link
Contributor Author

@PokhodenkoSA PokhodenkoSA Apr 2, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ticket for fixing it #361 or #340 will make Level Zero always available by downloading headers from GitHub.

backends,
]
subprocess.check_call(cmake_args, stderr=subprocess.STDOUT, shell=False)
Expand Down