Skip to content

Fixed build_locally.py to allow building debug build#835

Merged
oleksandr-pavlyk merged 7 commits intomasterfrom
fix-local-debug-build
May 13, 2022
Merged

Fixed build_locally.py to allow building debug build#835
oleksandr-pavlyk merged 7 commits intomasterfrom
fix-local-debug-build

Conversation

@oleksandr-pavlyk
Copy link
Copy Markdown
Contributor

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

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

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