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

Fixed build_locally.py to allow building debug build #835

Merged
merged 7 commits into from
May 13, 2022

Conversation

oleksandr-pavlyk
Copy link
Collaborator

-debug option of scripts/build_locally.py was not passing the option to scikit-build correctly.

Previously, python scripts/build_locally.py --debug would result in cmake call where both -DCMAKE_BUILD_TYPE=Debug and -DCMAKE_BUILD_TYPE=Release` were present in this order, always resulting in Release build.

This PR fixes that.

  • Have you provided a meaningful PR description?
  • Have you added a test, reproducer or referred to an issue with a reproducer?
  • Have you tested your changes locally for CPU and GPU devices?
  • Have you made sure that new changes do not introduce compiler warnings?
  • If this PR is a work in progress, are you filing the PR as a draft?

@github-actions
Copy link

@coveralls
Copy link
Collaborator

Coverage Status

Coverage remained the same at 82.895% when pulling d2cd95d on fix-local-debug-build into 83bd76f on master.

@oleksandr-pavlyk oleksandr-pavlyk force-pushed the fix-local-debug-build branch from 7c29d49 to 4a92dba Compare May 13, 2022 15:15
@oleksandr-pavlyk oleksandr-pavlyk merged commit b196e73 into master May 13, 2022
@oleksandr-pavlyk oleksandr-pavlyk deleted the fix-local-debug-build branch May 13, 2022 18:29
@github-actions
Copy link

Deleted rendered PR docs from intelpython.github.com/dpctl, latest should be updated shortly. 🤞

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.

2 participants