-
Notifications
You must be signed in to change notification settings - Fork 189
Added helper scripts for platform package dependencies, build and install #5912
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
Conversation
07b49a5 to
c345184
Compare
|
will see if I can make rockylinux/10 work here as well, then will put up for review. |
c345184 to
a839eb1
Compare
larsewi
left a comment
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.
Nice 🚀 Would be nice to have a comment in the top of the scripts briefly explaining what they do
| if [ -f /etc/os-release ]; then | ||
| source /etc/os-release | ||
| VERSION_MAJOR=${VERSION_ID%.*} | ||
| if [ "$ID" = "rhel" ] || [[ "$ID_LIKE" =~ "rhel" ]]; then |
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.
No need to have double quotes around the string literals. But does not hurt
| cd "$tmpdir" | ||
| git clone --recursive --depth 1 https://github.com/LMDB/lmdb |
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.
Could consider using the -C option here
| cd "$tmpdir" | |
| git clone --recursive --depth 1 https://github.com/LMDB/lmdb | |
| git -C "$tmpdir" clone --recursive --depth 1 https://github.com/LMDB/lmdb |
| cd lmdb/libraries/liblmdb | ||
| make | ||
| sudo make install prefix=/usr |
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.
Would be nice to do this in a subshell, so that you don't have to cd back out
| @@ -0,0 +1,12 @@ | |||
| #!/usr/bin/env bash | |||
| set -ex | |||
| thisdir=$(dirname $0) | |||
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.
| thisdir=$(dirname $0) | |
| thisdir="$(dirname "$0")" |
…tall For now this is focused on redhat-10-aarch64 and termux environment. Ticket: ENT-13016 Changelog: none
a839eb1 to
a9842a2
Compare
For now this is focused on redhat-10-aarch64 and termux environment.
Ticket: ENT-13016
Changelog: none