瀏覽代碼

Fix julia paths

Also, JULIA_LOAD_PATH does need to end with ':' so that the default path
remains included.
Samuel Thibault 4 年之前
父節點
當前提交
03dbb396b1
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 2 2
      julia/README
  2. 2 2
      julia/setenv.sh

+ 2 - 2
julia/README

@@ -20,8 +20,8 @@ $ make
 Then, you need to add the lib/ directory to your library path and the julia/
 directory to your Julia load path:
 
-$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/lib
-$ export JULIA_LOAD_PATH=$JULIA_LOAD_PATH:$PWD
+$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/src/.lib
+$ export JULIA_LOAD_PATH=$PWD/src:$JULIA_LOAD_PATH
 
 This step can also be done by sourcing the setenv.sh script:
 

+ 2 - 2
julia/setenv.sh

@@ -1,6 +1,6 @@
 # StarPU --- Runtime system for heterogeneous multicore architectures.
 #
-# Copyright (C) 2020       Université de Bordeaux, CNRS (LaBRI UMR 5800), Inria
+# Copyright (C) 2020-2021       Université de Bordeaux, CNRS (LaBRI UMR 5800), Inria
 #
 # StarPU is free software; you can redistribute it and/or modify
 # it under the terms of the GNU Lesser General Public License as published by
@@ -13,7 +13,7 @@
 #
 # See the GNU Lesser General Public License in COPYING.LGPL for more details.
 #
-export JULIA_LOAD_PATH=$JULIA_LOAD_PATH:$PWD
+export JULIA_LOAD_PATH=$PWD/src:$JULIA_LOAD_PATH
 
 if [ `uname` == "Darwin" ]; then
     export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$PWD/lib/