Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Commit 41ecf58

Browse files
authored
add julia env settings (#15523)
1 parent 9724ce6 commit 41ecf58

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/build_version_doc/build_all_version.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,17 @@ set -x
4646
# Set OPTS to any Sphinx build options, like -W for "warnings as errors"
4747
OPTS=
4848

49+
# Setup environment for Julia docs
50+
export PATH="$1/bin:$PATH"
51+
export MXNET_HOME='/work/mxnet'
52+
export JULIA_DEPOT_PATH='/work/julia-depot'
53+
export INTEGRATION_TEST=1
54+
55+
julia -e 'using InteractiveUtils; versioninfo()'
56+
export LD_PRELOAD='/usr/lib/x86_64-linux-gnu/libjemalloc.so'
57+
export LD_LIBRARY_PATH=/work/mxnet/lib:$LD_LIBRARY_PATH
58+
59+
4960
# $1 is the list of branches/tags to build
5061
if [ -z "$1" ]
5162
then

0 commit comments

Comments
 (0)