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

Fix spaces in parent folder name #18

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

protik09
Copy link

This commit fixes Issue #17

@aallan
Copy link

aallan commented Mar 15, 2021

Not needed on Raspberry Pi OS, but might be worthwhile merging in any case?

@aallan aallan requested a review from liamfraser March 15, 2021 10:32
@JamesH65
Copy link

Why not needed on PiOS? If there is space in the installation folder name, I think pico-setup would fail?

@@ -10,7 +10,7 @@ else
fi

# Number of cores when running make
JNUM=4
JNUM=$(cat /proc/cpuinfo | grep processor | wc -l)
Copy link
Contributor

Choose a reason for hiding this comment

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

Please make this change in a separate PR, as it's unrelated the the spaces-in-path issue.

Copy link
Author

Choose a reason for hiding this comment

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

Ahh.. Apologies I missed that. Will do.

Copy link
Contributor

Choose a reason for hiding this comment

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

It looks like you removed this, but then added it back again??
You might find things easier to manage if you do them on separate branches, rather than doing everything on protik09:master 🙂

Copy link
Contributor

Choose a reason for hiding this comment

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

ping @protik09 again. Can you please update this PR to remove this change?

@aallan
Copy link

aallan commented Mar 15, 2021

Why not needed on PiOS? If there is space in the installation folder name, I think pico-setup would fail?

Doh! Fair point. I was totally in the mindset of "well it works on my machine!" Blame it on Monday and not enough coffee? 🤦‍♂️

@@ -90,12 +90,12 @@ cmake ../ -DCMAKE_BUILD_TYPE=Debug
for e in blink hello_world
do
echo "Building $e"
cd $e
cd "$e"
Copy link
Contributor

@lurch lurch Mar 15, 2021

Choose a reason for hiding this comment

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

Technically not needed here, as neither blink nor hello_world contain spaces 😉 (but I guess it doesn't hurt)

Choose a reason for hiding this comment

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

I'd be inclined to keep the quotes everywhere they may be needed, to make it future proof/consistent

Copy link
Contributor

Choose a reason for hiding this comment

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

Agreed, that's why I said "(but I guess it doesn't hurt)"

Temporary fix to remove unrelated info from pull request for Issue raspberrypi#17
This gives max compile speed on any Raspberry Pi
@aallan
Copy link

aallan commented Apr 6, 2021

Superseded by #20. But note that one of openocd's submodules doesn't handle spaces and there doesn't seem to be a way around that?

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.

4 participants