Bug/feature? in build script

I wanted to try cling for my own rapid prototyping/debuging/testing in c++ when python is not an option, so I built Cling with the provided buildscript*.
The line 61 of it configures the clang/cling build:
cmake -DCMAKE_INSTALL_PREFIX=$INSTDIR -DPYTHON_EXECUTABLE=$python …/src > /dev/null || exit 1
Because no Build type is specified here, cmake/clang defaults to DEBUG, which produces a 1.5 GB clang executable (if one doesn’t run out of memory while compiling, first time I had 8GB for one link in use)
Changing line 61 to
fixes this.


*found here:
raw.github.com/karies/cling-all … r/clone.sh

Hi Elbrasch,

Makes perfect sense - cling is way out of the alpha / use == debug stage :slight_smile: I have pushed the change.

raw.github.com/karies/cling-all … r/clone.sh doesn’t get updated, maybe there is some delay (usually it’s faster). If you see an error on my side don’t hesitate to complain, please :slight_smile:

Thanks for your suggestion!

Cheers, Axel.