Skip to content

setup.py for building C++ backend - #168

Merged
PokhodenkoSA merged 18 commits into
IntelPython:masterfrom
1e-to:script
Nov 12, 2020
Merged

PokhodenkoSA merged 18 commits into
IntelPython:masterfrom
1e-to:script

Conversation

@1e-to

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

Copy link
Copy Markdown
Contributor

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

Comment thread conda-recipe/bld.bat Resolved
Comment thread conda-recipe/build.sh Resolved
Comment thread setup.py Resolved
Comment thread setup.py Resolved
@oleksandr-pavlyk

Copy link
Copy Markdown
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.

Comment thread setup.py Resolved
Comment thread setup.py Resolved
Comment thread setup.py Resolved
Comment thread scripts/build_backend.py Resolved
Comment thread setup.py Resolved
Comment thread setup.py Resolved
@PokhodenkoSA

Copy link
Copy Markdown
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

Comment thread scripts/build_backend.py Resolved
Comment thread setup.py Resolved
Comment thread setup.py Resolved
Comment thread setup.py Resolved
@PokhodenkoSA

Copy link
Copy Markdown
Contributor

@1e-to, please, update README.

Comment thread CHANGELOG.md Resolved
Comment thread README.md Resolved

@PokhodenkoSA PokhodenkoSA left a comment

Copy link
Copy Markdown
Contributor

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