|
22 | 22 | set -o pipefail |
23 | 23 | this_dir=$(cd `dirname $0` && pwd) |
24 | 24 |
|
| 25 | +# PIConGPU prefix path |
| 26 | +picongpu_prefix=$(cd $this_dir/.. && pwd) |
| 27 | + |
25 | 28 | # load libs and functions ###################################################### |
26 | 29 | # |
27 | | -. $this_dir/buildsystem/CompileSuite/path.sh |
28 | | -. $this_dir/buildsystem/CompileSuite/help.sh |
29 | | -. $this_dir/buildsystem/CompileSuite/color.sh |
30 | | -. $this_dir/buildsystem/CompileSuite/options.sh |
31 | | -. $this_dir/buildsystem/CompileSuite/exec_helper.sh |
| 30 | +. $picongpu_prefix/buildsystem/CompileSuite/path.sh |
| 31 | +. $picongpu_prefix/buildsystem/CompileSuite/help.sh |
| 32 | +. $picongpu_prefix/buildsystem/CompileSuite/color.sh |
| 33 | +. $picongpu_prefix/buildsystem/CompileSuite/options.sh |
| 34 | +. $picongpu_prefix/buildsystem/CompileSuite/exec_helper.sh |
32 | 35 |
|
33 | 36 | this_dir=`absolute_path $this_dir` |
34 | 37 |
|
|
111 | 114 | mkdir -p $buildDir |
112 | 115 |
|
113 | 116 | if [ "$num_parallel" -gt "1" ] ; then |
114 | | - $this_dir/buildsystem/CompileSuite/compileSet.sh \ |
| 117 | + $picongpu_prefix/buildsystem/CompileSuite/compileSet.sh \ |
115 | 118 | "$example_name" "$testFlagNr" "$globalCMakeOptions" \ |
116 | 119 | "$tmpRun_path" "$buildDir" "$examples_path" \ |
117 | 120 | "$quiet_run" &> $buildDir"/compile.log" & |
118 | 121 |
|
119 | 122 | running="`jobs -p | wc -l`" |
120 | | - echo $compileSuite"Spawned $example_name $testFlagNr" |
| 123 | + echo $compileSuite"Spawned $example_name $testFlagNr" |
121 | 124 |
|
122 | 125 | while [ "$running" -ge "$num_parallel" ] |
123 | 126 | do |
124 | 127 | sleep 5 |
125 | 128 | running="`jobs -p | wc -l`" |
126 | 129 | done |
127 | 130 | else |
128 | | - $this_dir/buildsystem/CompileSuite/compileSet.sh \ |
| 131 | + $picongpu_prefix/buildsystem/CompileSuite/compileSet.sh \ |
129 | 132 | "$example_name" "$testFlagNr" "$globalCMakeOptions" \ |
130 | 133 | "$tmpRun_path" "$buildDir" "$examples_path" \ |
131 | 134 | "$quiet_run" | tee $buildDir"/compile.log" || exit $? |
|
0 commit comments