From 41ecf583bb551c2b43670c0b6db2ef87560b9f5c Mon Sep 17 00:00:00 2001 From: Aaron Markham Date: Mon, 15 Jul 2019 16:04:19 -0700 Subject: [PATCH] add julia env settings (#15523) --- docs/build_version_doc/build_all_version.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/build_version_doc/build_all_version.sh b/docs/build_version_doc/build_all_version.sh index 3c432bbedfc9..ee467f99e0a4 100755 --- a/docs/build_version_doc/build_all_version.sh +++ b/docs/build_version_doc/build_all_version.sh @@ -46,6 +46,17 @@ set -x # Set OPTS to any Sphinx build options, like -W for "warnings as errors" OPTS= +# Setup environment for Julia docs +export PATH="$1/bin:$PATH" +export MXNET_HOME='/work/mxnet' +export JULIA_DEPOT_PATH='/work/julia-depot' +export INTEGRATION_TEST=1 + +julia -e 'using InteractiveUtils; versioninfo()' +export LD_PRELOAD='/usr/lib/x86_64-linux-gnu/libjemalloc.so' +export LD_LIBRARY_PATH=/work/mxnet/lib:$LD_LIBRARY_PATH + + # $1 is the list of branches/tags to build if [ -z "$1" ] then