Skip to content

Commit

Permalink
fixed path for bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
jcanny committed Nov 7, 2014
1 parent b9273d3 commit 8f1c891
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bidmat
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ ALL_LIBS=";${LIBDIR}/IScala.jar;${BIDMAT_LIBS};${JCUDA_LIBS};${JAVA_HOME}/lib/to

if [ ! "$OS" = "Windows_NT" ]; then
ALL_LIBS=`echo "${ALL_LIBS}" | sed 's/;/:/g'`
JAVA_NATIVE="-Djava.library.path=${LD_LIBRARY_PATH}:/usr/lib64:/lib64:lib:/usr/lib"
JAVA_NATIVE="-Djava.library.path=${LD_LIBRARY_PATH}:${LIBDIR}/cuda:/usr/lib64:/lib64:lib:/usr/lib"
else
if [ ! "${CUDA_PATH}" = "" ]; then
NEWPATH=`${BIDMAT_ROOT}/shortpath.bat "${CUDA_PATH}"`
NEWPATH=`echo $NEWPATH | sed 's_\\\\_/_g'`/bin
fi
JAVA_NATIVE="-Djava.library.path=${LIBDIR};${NEWPATH}"
JAVA_NATIVE="-Djava.library.path=${LIBDIR};${LIBDIR}/cuda;${NEWPATH}"
export JAVA_OPTS="${JAVA_NATIVE} ${JAVA_OPTS}"
fi

Expand Down

0 comments on commit 8f1c891

Please sign in to comment.