-
Notifications
You must be signed in to change notification settings - Fork 114
Fix Tarball build for Python plugin #833
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -238,11 +238,13 @@ export LD_LIBRARY_PATH=$DEPS_INSTALL_RUNTIME_DIR/openssl-install/lib:$LD_LIBRARY | |
| --quiet \ | ||
| --prefix=$DEPS_INSTALL_RUNTIME_DIR/python-install \ | ||
| --with-openssl=$DEPS_INSTALL_RUNTIME_DIR/openssl-install \ | ||
| --enable-optimizations | ||
| --enable-optimizations \ | ||
| --enable-shared | ||
|
Comment on lines
238
to
+242
|
||
| make install --quiet --jobs $(nproc) | ||
| rm -f $PACKAGES_DIR/Python-3.9.0.tar.xz | ||
|
|
||
| export PATH=$DEPS_INSTALL_RUNTIME_DIR/python-install/bin:$PATH | ||
| export LD_LIBRARY_PATH="$DEPS_INSTALL_RUNTIME_DIR/python-install/lib:$LD_LIBRARY_PATH" | ||
mcserep marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| ############## | ||
| # LLVM/Clang # | ||
|
|
@@ -311,7 +313,7 @@ if [ ! -f $DEPS_INSTALL_RUNTIME_DIR/boost-install/lib/libboost_program_options.s | |
|
|
||
| ./bootstrap.sh \ | ||
| --prefix=$DEPS_INSTALL_RUNTIME_DIR/boost-install \ | ||
| --with-python=$DEPS_INSTALL_RUNTIME_DIR/python-install/bin/python | ||
| --with-python=$DEPS_INSTALL_RUNTIME_DIR/python-install/bin/python3 | ||
| ./b2 -j $(nproc) install | ||
|
|
||
| rm -f $PACKAGES_DIR/boost_1_74_0.tar.gz | ||
|
|
||
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.
This
LD_LIBRARY_PATHconstruction can leave a trailing:when$LD_LIBRARY_PATHis empty/unset, which adds the current working directory to the dynamic loader search path. To avoid security/non-determinism issues, append the existing value conditionally (only when non-empty).