Commit 3ea45c93 authored by incardon's avatar incardon

Fixing configure and warnings

parent fc886917
...@@ -227,6 +227,11 @@ do ...@@ -227,6 +227,11 @@ do
conf_options="$conf_options -DSE_CLASS3=ON" conf_options="$conf_options -DSE_CLASS3=ON"
;; ;;
gpu) gpu)
if [ x"$CXX" == x"" ]; then
conf_options="$conf_options"
else
conf_options="$conf_options -DCMAKE_CUDA_HOST_COMPILER=$(which $CXX)"
fi
conf_options="$conf_options -DENABLE_GPU=ON" conf_options="$conf_options -DENABLE_GPU=ON"
;; ;;
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
...@@ -562,6 +567,12 @@ clean: ...@@ -562,6 +567,12 @@ clean:
install: install:
\$(MAKE) -C build \$@ \$(MAKE) -C build \$@
pdata:
\$(MAKE) -C build \$@
numerics:
\$(MAKE) -C build \$@
.PHONY: all clean install" > Makefile .PHONY: all clean install" > Makefile
echo "$0 $@" > config.log echo "$0 $@" > config.log
......
...@@ -1173,7 +1173,7 @@ public: ...@@ -1173,7 +1173,7 @@ public:
* \param new size of the vector * \param new size of the vector
* *
*/ */
size_t resize_base(size_t sz) void resize_base(size_t sz)
{ {
base_type::resize(sz); base_type::resize(sz);
v_size = sz; v_size = sz;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment