Skip to content

Conversation

@1e-to
Copy link
Contributor

@1e-to 1e-to commented Nov 3, 2020

This PR must resolve the problem from this issue #145.

@oleksandr-pavlyk
Copy link
Contributor

I thought this PR would build on Python's interface to CMake:

https://github.com/pytorch/pytorch/blob/master/tools/build_pytorch_libs.py#L51

Kind of like

https://github.com/pytorch/pytorch/blob/master/tools/setup_helpers/cmake.py#L94

Maybe a little too heavy-handed for our purposes.

@PokhodenkoSA
Copy link
Contributor

Tested locally on Linux: OK.
Steps:

  1. source /opt/intel/oneapi/compiler/latest/env/vars.sh
  2. python setup.py develop
  3. python -m unittest -v dpctl.tests

@PokhodenkoSA
Copy link
Contributor

@1e-to, please, update README.

Copy link
Contributor

@PokhodenkoSA PokhodenkoSA left a comment

Choose a reason for hiding this comment

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

Thanks @1e-to. LGTM. Could be merged after CI finishes.

@PokhodenkoSA PokhodenkoSA merged commit 8dd23c9 into IntelPython:master Nov 12, 2020
@1e-to 1e-to deleted the script branch March 2, 2021 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use setup.py for building C++ backend Minimize required environment variables for setup.py

3 participants