File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -141,25 +141,25 @@ if [ -f "$extension_param/cmakeFlags" ] ; then
141141 fi
142142fi
143143
144- # set default install path if no path is set by paramater
145- if [ -z " $install_path " ] ; then
146- install_path=" -DCMAKE_INSTALL_PREFIX=$extension_param "
147- fi
148- extension_param=" -DPIC_EXTENSION_PATH=$extension_param "
149-
150144# legacy check: we removed simulation_defines/ after PIConGPU 0.3.X
151145if [ -d " $extension_param /include/picongpu/simulation_defines" ]; then
152146 echo " ERROR: simulation_defines/ directory found!" >&2
153147 echo " Please update your input directory to the new structure!" >&2
154148 exit 3
155149fi
156150
151+ # set default install path if no path is set by parameter
152+ if [ -z " $install_path " ] ; then
153+ install_path=" -DCMAKE_INSTALL_PREFIX=$extension_param "
154+ fi
155+ cmake_extension_param=" -DPIC_EXTENSION_PATH=$extension_param "
156+
157157# warn on missing backend selection
158158if [ -z " $alpaka_backend " ] ; then
159159 echo " Warning: no compute backend set! " >&2
160160 echo " (Use -b|--backend or export PIC_BACKEND)" >&2
161161fi
162162
163- own_command=" cmake $cmake_flags $install_path $extension_param $cmake_options $alpaka_backend $this_dir /include/picongpu"
163+ own_command=" cmake $cmake_flags $install_path $cmake_extension_param $cmake_options $alpaka_backend $this_dir /include/picongpu"
164164echo -e " \033[32mcmake command:\033[0m $own_command "
165165eval $own_command
You can’t perform that action at this time.
0 commit comments