-
Notifications
You must be signed in to change notification settings - Fork 45
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
base: master
Are you sure you want to change the base?
Conversation
This commit fixes Issue raspberrypi#17
Not needed on Raspberry Pi OS, but might be worthwhile merging in any case? |
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) |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
🙂
There was a problem hiding this comment.
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?
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" |
There was a problem hiding this comment.
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)
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
Superseded by #20. But note that one of |
This commit fixes Issue #17