~muktupavels/compiz/cmp0005

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bileto Bot
  • Author(s): Alberts Muktupāvels
  • Date: 2018-07-23 17:14:55 UTC
  • mfrom: (4169.2.7 compiz-build-tests)
  • Revision ID: ci-train-bot@canonical.com-20180723171455-ss1k3z6l6787vm8f
Build tests.

Approved by: Marco Trevisan (Treviño)

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 
8
8
python2_version := $(shell pyversions --requested --version debian/control)
9
9
gles2_architectures := armel armhf
 
10
build_testing := OFF
 
11
 
 
12
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 
13
        build_testing := ON
 
14
endif
10
15
 
11
16
# currently, segfault if CMAKE_BUILD_TYPE=Release
12
17
export DEB_LDFLAGS_MAINT_STRIP=-Wl,-Bsymbolic-functions
20
25
override_dh_auto_configure:
21
26
        # right now, xorg-gtest won't compile on arm.
22
27
ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH), $(gles2_architectures)))
23
 
        dh_auto_configure -- -DCOMPIZ_BUILD_WITH_RPATH=FALSE -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCOMPIZ_PACKAGING_ENABLED=TRUE -DCOMPIZ_DISABLE_GS_SCHEMAS_INSTALL=OFF -DCOMPIZ_DISABLE_PLUGIN_KDE=ON -DCOMPIZ_BUILD_TESTING=OFF -DUSE_KDE4=OFF -DBUILD_GLES=ON -DBUILD_XORG_GTEST=OFF
 
28
        dh_auto_configure -- -DCOMPIZ_BUILD_WITH_RPATH=FALSE -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCOMPIZ_PACKAGING_ENABLED=TRUE -DCOMPIZ_DISABLE_GS_SCHEMAS_INSTALL=OFF -DCOMPIZ_DISABLE_PLUGIN_KDE=ON -DCOMPIZ_BUILD_TESTING=$(build_testing) -DUSE_KDE4=OFF -DBUILD_GLES=ON -DBUILD_XORG_GTEST=OFF
24
29
else
25
 
        dh_auto_configure -- -DCOMPIZ_BUILD_WITH_RPATH=FALSE -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCOMPIZ_PACKAGING_ENABLED=TRUE -DCOMPIZ_DISABLE_GS_SCHEMAS_INSTALL=OFF -DCOMPIZ_DISABLE_PLUGIN_KDE=ON -DCOMPIZ_BUILD_TESTING=OFF -DUSE_KDE4=OFF
 
30
        dh_auto_configure -- -DCOMPIZ_BUILD_WITH_RPATH=FALSE -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCOMPIZ_PACKAGING_ENABLED=TRUE -DCOMPIZ_DISABLE_GS_SCHEMAS_INSTALL=OFF -DCOMPIZ_DISABLE_PLUGIN_KDE=ON -DCOMPIZ_BUILD_TESTING=$(build_testing) -DUSE_KDE4=OFF
26
31
endif
27
32
 
28
33
override_dh_install: