https://bugs.kde.org/show_bug.cgi?id=408179

--- Comment #16 from vialav <d...@bk.ru> ---
Ok, that 'None' did come from Debian 'automagic', I didn't set it on purpose.
However, the second (for me the only one) -DCMAKE_BUILD_TYPE=debug shadows
(rewrites anew) ehm… the CMAKE_BUILD_TYPE, so, it shall be the Debug build in
the result (even *debug.cmake hints on this).

And here is how I've got the source : 

git clone --recurse-submodules git://anongit.kde.org/cantor.git
git checkout origin/Applications/19.04
git merge master
# resolve a trivial merge conflict in CMakeLists.txt (set a version)
# build as in the attached log

#my **naive** debian/rules universal template:


#!/usr/bin/make -f

# see FEATURE AREAS in dpkg-buildflags(1)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

export DEB_CFLAGS_MAINT_APPEND := -fopenmp -mtune=native -O3 -fPIC
-flto=jobserver -flto-compression-level=9 -funroll-loops -DMKL_LP64
-DM_PI=3.1415926535897932384 -I/usr/include/mkl
export DEB_CXXFLAGS_MAINT_APPEND := $(DEB_CFLAGS_MAINT_APPEND)
export DEB_CPPFLAGS_MAINT_APPEND := $(DEB_CFLAGS_MAINT_APPEND)
export DEB_FFLAGS_MAINT_APPEND := -fopenmp -mtune=native -O3 -fPIC
-ffree-line-length-0
export DEB_FCFLAGS_MAINT_APPEND  = $(DEB_FFLAGS_MAINT_APPEND)
export DEB_LDFLAGS_MAINT_APPEND := -fPIC -Wl,--start-group -lmkl_gf_lp64
-lmkl_gnu_thread -lmkl_core -Wl,--end-group -lgomp -lpthread -lm -ldl
# the last line is for compiling with IntelMKL
<stripped>

override_dh_auto_configure:
        $(overridden_command) -- -DBUILD_TESTING=OFF
-DJULIA_EXECUTABLE=/usr/bin/julia -DCMAKE_BUILD_TYPE=debug

#(so, CMAKE_BUILD_TYPE only once and Debug, but what the heck where is the
output…)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to