-
-
Notifications
You must be signed in to change notification settings - Fork 401
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #20529: Get rid of SAGE_ORIG_LD_LIBRARY_PATH
the file src/sage/repl/interpreter.py uses the variable SAGE_ORIG_LD_LIBRARY_PATH which is not defined by default. This cause doctests failures on a patchbot not running in a bash shell. Let us get rid of this variable and related code. Example of log with failing doctests: https://patchbot.sagemath.org/log/20240/Ubuntu/14.04/x86_64/3.16.0-71-ge neric/irma-atlas/2016-06-30%2011:02:50?short URL: https://trac.sagemath.org/20529 Reported by: vbraun Ticket author(s): Volker Braun Reviewer(s): Erik Bray
- Loading branch information
Showing
7 changed files
with
3 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
#!/bin/sh | ||
|
||
LD_LIBRARY_PATH=$SAGE_ORIG_LD_LIBRARY_PATH; export LD_LIBRARY_PATH | ||
if [ `uname` = 'Darwin' ]; then | ||
DYLD_LIBRARY_PATH=$SAGE_ORIG_DYLD_LIBRARY_PATH | ||
fi | ||
# The entire sage-native-execute should probably be removed, but wait | ||
# for http://trac.sagemath.org/ticket/9386 | ||
|
||
"$@" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,5 @@ | |
# will leads to a crash. | ||
|
||
unset LIBRARY_PATH | ||
unset LD_LIBRARY_PATH | ||
unset DYLD_LIBRARY_PATH | ||
|
||
open "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters