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

Avoid tabs in command lines #230

Merged
merged 2 commits into from
Jan 14, 2022

Conversation

hvdijk
Copy link
Contributor

@hvdijk hvdijk commented Dec 6, 2021

This commit updates cmake/FindComputeCpp.cmake to avoid the use of tabs in command lines. The tabs are valid but cause issues when copying and pasting commands to run them standalone, as even the pasting of a tab may trigger tab completion, depending on the shell and shell settings.

The tabs were a workaround for older CMake versions, but a sufficiently recent CMake is already required.

I have verified that with this MR applied, with the Ninja generator, the only change to the generated build.ninja is the removal of the tabs.

Note: this PR is against SYCL-2020 but also applies cleanly to SYCL-1.2.1/master. If this gets approved and merged to SYCL-2020, I would appreciate it if it could also be cherry-picked there, or I can create a new PR for that.

This commit updates cmake/FindComputeCpp.cmake to avoid the use of tabs
in command lines. The tabs are valid but cause issues when copying and
pasting commands to run them standalone, as even the pasting of a tab
may trigger tab completion, depending on the shell and shell settings.

The tabs were a workaround for older CMake versions, but a sufficiently
recent CMake is already required.
@CLAassistant
Copy link

CLAassistant commented Dec 6, 2021

CLA assistant check
All committers have signed the CLA.

@bader bader requested a review from keryell January 10, 2022 10:27
Copy link
Member

@keryell keryell left a comment

Choose a reason for hiding this comment

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

Thanks!

@bader
Copy link
Contributor

bader commented Jan 14, 2022

Can someone with admin rights to merge this PR, please?
I can't merge because of missing status of required checks.

@keryell keryell merged commit aa58a14 into KhronosGroup:SYCL-2020 Jan 14, 2022
@keryell
Copy link
Member

keryell commented Jan 14, 2022

I can't merge because of missing status of required checks.

I have added you to the SYCL admin list anyway as you deserve it. :-)

steffenlarsen pushed a commit to steffenlarsen/SYCL-CTS that referenced this pull request Dec 6, 2022
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.

None yet

6 participants