Skip to content
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

[SYCLomatic][python_setup] Enabled Python build scripts migration #2171

Merged
merged 15 commits into from
Oct 18, 2024

Conversation

TejaX-Alaghari
Copy link
Contributor

@TejaX-Alaghari TejaX-Alaghari commented Jul 16, 2024

Initial PR for enabling setup.py migration framework

@TejaX-Alaghari TejaX-Alaghari requested a review from a team as a code owner July 16, 2024 05:54
@TejaX-Alaghari TejaX-Alaghari changed the title Enabled setup.py migration Enabled Python setup scripts migration Jul 16, 2024
Copy link
Contributor

@tomflinda tomflinda left a comment

Choose a reason for hiding this comment

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

@TejaX-Alaghari

clang/lib/DPCT/MigratePythonSetupScript.cpp
clang/lib/DPCT/MigratePythonSetupScript.h

Has duplicate function's implementation with

clang/lib/DPCT/MigrateCmakeScript.cpp
clang/lib/DPCT/MigrateCmakeScript.h

So, I suggest that:
Create two more files, like:

clang/lib/DPCT/MigrateBuildScript.cpp
clang/lib/DPCT/MigrateBuildScript.cpp

And extract common implementation from MigratePythonSetupScript.cpp and MigrateCmakeScript.cpp to the two files above, so than the duplicate code could be reduced.

@TejaX-Alaghari TejaX-Alaghari changed the title Enabled Python setup scripts migration [SYCLomatic][python_setup] Enabled Python setup scripts migration Jul 18, 2024
@TejaX-Alaghari TejaX-Alaghari force-pushed the setup_py_mig branch 3 times, most recently from 25472c1 to c74b205 Compare September 26, 2024 01:50
@TejaX-Alaghari TejaX-Alaghari force-pushed the setup_py_mig branch 3 times, most recently from 988c66e to ccf302e Compare September 27, 2024 05:14
Copy link
Contributor

@tomflinda tomflinda left a comment

Choose a reason for hiding this comment

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

LGTM

@TejaX-Alaghari TejaX-Alaghari force-pushed the setup_py_mig branch 2 times, most recently from e47e4ce to e9a3354 Compare October 11, 2024 04:57
@TejaX-Alaghari TejaX-Alaghari force-pushed the setup_py_mig branch 2 times, most recently from ace0fa4 to 0ad9293 Compare October 14, 2024 10:08
@TejaX-Alaghari TejaX-Alaghari changed the title [SYCLomatic][python_setup] Enabled Python setup scripts migration [SYCLomatic][python_setup] Enabled Python build scripts migration Oct 14, 2024
@zhimingwang36 zhimingwang36 merged commit cac9390 into oneapi-src:SYCLomatic Oct 18, 2024
6 checks passed
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.

3 participants