From 943eafadb633f8381340b13ddb94a7a4ad7bfbf4 Mon Sep 17 00:00:00 2001 From: Aaron Markham Date: Fri, 12 Jul 2019 11:00:57 -0700 Subject: [PATCH] add julia env settings --- docs/build_version_doc/build_all_version.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/build_version_doc/build_all_version.sh b/docs/build_version_doc/build_all_version.sh index 3c432bbedfc9..871252bc4dbf 100755 --- a/docs/build_version_doc/build_all_version.sh +++ b/docs/build_version_doc/build_all_version.sh @@ -46,6 +46,16 @@ 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