File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -176,10 +176,10 @@ EOF
176176 if [ " ${with_mpich} " != " __SYSTEM__" ]; then
177177 cat << EOF >> "${BUILDDIR} /setup_mpich"
178178prepend_path PATH "${pkg_install_dir} /bin"
179- prepend_path LD_LIBRARY_PATH= "${pkg_install_dir} /lib":\$ {LD_LIBRARY_PATH}
180- prepend_path LD_RUN_PATH= "${pkg_install_dir} /lib":\$ {LD_RUN_PATH}
181- prepend_path LIBRARY_PATH= "${pkg_install_dir} /lib":\$ {LIBRARY_PATH}
182- prepend_path CPATH= "${pkg_install_dir} /include":\$ {CPATH}
179+ prepend_path LD_LIBRARY_PATH "${pkg_install_dir} /lib":\$ {LD_LIBRARY_PATH}
180+ prepend_path LD_RUN_PATH "${pkg_install_dir} /lib":\$ {LD_RUN_PATH}
181+ prepend_path LIBRARY_PATH "${pkg_install_dir} /lib":\$ {LIBRARY_PATH}
182+ prepend_path CPATH "${pkg_install_dir} /include":\$ {CPATH}
183183EOF
184184 fi
185185 cat " ${BUILDDIR} /setup_mpich" >> ${SETUPFILE}
Original file line number Diff line number Diff line change @@ -205,10 +205,10 @@ EOF
205205 if [ " ${with_openmpi} " != " __SYSTEM__" ]; then
206206 cat << EOF >> "${BUILDDIR} /setup_openmpi"
207207prepend_path PATH "${pkg_install_dir} /bin"
208- prepend_path LD_LIBRARY_PATH= "${pkg_install_dir} /lib":\$ {LD_LIBRARY_PATH}
209- prepend_path LD_RUN_PATH= "${pkg_install_dir} /lib":\$ {LD_RUN_PATH}
210- prepend_path LIBRARY_PATH= "${pkg_install_dir} /lib":\$ {LIBRARY_PATH}
211- prepend_path CPATH= "${pkg_install_dir} /include":\$ {CPATH}
208+ prepend_path LD_LIBRARY_PATH "${pkg_install_dir} /lib":\$ {LD_LIBRARY_PATH}
209+ prepend_path LD_RUN_PATH "${pkg_install_dir} /lib":\$ {LD_RUN_PATH}
210+ prepend_path LIBRARY_PATH "${pkg_install_dir} /lib":\$ {LIBRARY_PATH}
211+ prepend_path CPATH "${pkg_install_dir} /include":\$ {CPATH}
212212EOF
213213 fi
214214 cat " ${BUILDDIR} /setup_openmpi" >> ${SETUPFILE}
Original file line number Diff line number Diff line change @@ -175,8 +175,6 @@ if [ "$with_openblas" != "__DONTUSE__" ]; then
175175prepend_path LD_LIBRARY_PATH "${pkg_install_dir} /lib"
176176prepend_path LD_RUN_PATH "${pkg_install_dir} /lib"
177177prepend_path LIBRARY_PATH "${pkg_install_dir} /lib"
178- prepend_path PKG_CONFIG_PATH "${pkg_install_dir} /lib/pkgconfig"
179- prepend_path CMAKE_PREFIX_PATH "${pkg_install_dir} "
180178prepend_path CPATH "${pkg_install_dir} /include"
181179EOF
182180 cat " ${BUILDDIR} /setup_openblas" >> $SETUPFILE
@@ -189,8 +187,6 @@ export OPENBLAS_LIBS="${OPENBLAS_LIBS}"
189187export MATH_CFLAGS="\$ {MATH_CFLAGS} ${OPENBLAS_CFLAGS} "
190188export MATH_LDFLAGS="\$ {MATH_LDFLAGS} ${OPENBLAS_LDFLAGS} "
191189export MATH_LIBS="\$ {MATH_LIBS} ${OPENBLAS_LIBS} "
192- export PKG_CONFIG_PATH="${pkg_install_dir} /lib/pkgconfig"
193- export CMAKE_PREFIX_PATH="${pkg_install_dir} "
194190prepend_path PKG_CONFIG_PATH "${pkg_install_dir} /lib/pkgconfig"
195191prepend_path CMAKE_PREFIX_PATH "${pkg_install_dir} "
196192EOF
Original file line number Diff line number Diff line change @@ -41,7 +41,6 @@ source "${INSTALLDIR}"/toolchain.env
4141
4242[ -f " ${BUILDDIR} /setup_libcomm" ] && rm " ${BUILDDIR} /setup_libcomm"
4343
44- libcomm_CFLAGS=" "
4544! [ -d " ${BUILDDIR} " ] && mkdir -p " ${BUILDDIR} "
4645cd " ${BUILDDIR} "
4746
120119 cat " ${BUILDDIR} /setup_libcomm" >> $SETUPFILE
121120 fi
122121 cat << EOF >> "${BUILDDIR} /setup_libcomm"
123- export LIBCOMM_CFLAGS="${libcomm_CFLAGS } "
122+ export LIBCOMM_CFLAGS="${LIBCOMM_CFLAGS } "
124123export LIBCOMM_ROOT="${pkg_install_dir} "
125124EOF
126125fi
Original file line number Diff line number Diff line change @@ -39,7 +39,6 @@ source "${INSTALLDIR}"/toolchain.env
3939
4040[ -f " ${BUILDDIR} /setup_libri" ] && rm " ${BUILDDIR} /setup_libri"
4141
42- libri_CFLAGS=" "
4342! [ -d " ${BUILDDIR} " ] && mkdir -p " ${BUILDDIR} "
4443cd " ${BUILDDIR} "
4544
119118 cat " ${BUILDDIR} /setup_libri" >> $SETUPFILE
120119 fi
121120 cat << EOF >> "${BUILDDIR} /setup_libri"
122- export LIBRI_CFLAGS="${libri_CFLAGS } "
121+ export LIBRI_CFLAGS="${LIBRI_CFLAGS } "
123122export LIBRI_ROOT="${pkg_install_dir} "
124123EOF
125124fi
Original file line number Diff line number Diff line change @@ -111,6 +111,7 @@ prepend_path LD_RUN_PATH "${pkg_install_dir}/lib"
111111prepend_path LIBRARY_PATH "${pkg_install_dir} /lib"
112112prepend_path PKG_CONFIG_PATH "${pkg_install_dir} /lib/pkgconfig"
113113prepend_path CMAKE_PREFIX_PATH "${pkg_install_dir} "
114+ prepend_path CPATH "${pkg_install_dir} /include"
114115EOF
115116 fi
116117 if [ " $ENABLE_CUDA " = " __TRUE__" ]; then
Original file line number Diff line number Diff line change @@ -121,10 +121,6 @@ if [ "$with_rapidjson" != "__DONTUSE__" ]; then
121121 cat << EOF > "${BUILDDIR} /setup_rapidjson"
122122prepend_path CPATH "${pkg_install_dir} /include"
123123prepend_path CMAKE_PREFIX_PATH "${pkg_install_dir} "
124- EOF
125- else
126- cat << EOF > "${BUILDDIR} /setup_rapidjson"
127- export RAPIDJSON_ROOT="${pkg_install_dir} "
128124EOF
129125 fi
130126 cat " ${BUILDDIR} /setup_rapidjson" >> $SETUPFILE
You can’t perform that action at this time.
0 commit comments