Skip to content

Commit 9eb4b67

Browse files
committed
spec/rules: Do not build demos
If we build our Demos we need to include them in a package which is not on our roadmap for the near future, since we do not want them to be installed system wide. Signed-off-by: Jan Kraemer <jan.kraemer@vector.com>
1 parent 37e9828 commit 9eb4b67

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

debian/rules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export DEB_CXXFLAGS_MAINT_APPEND = "${PLATFORM_BUILD_FLAGS}"
88

99
export DEB_BUILD_MAINT_OPTIONS=optimize=-lto
1010
override_dh_auto_configure:
11-
dh_auto_configure -- -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_SOURCE=Off -DSILKIT_BUILD_LINUX_PACKAGE=On
11+
dh_auto_configure -- -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_SOURCE=Off -DSILKIT_BUILD_LINUX_PACKAGE=On -DSILKIT_BUILD_DEMOS=Off
1212

1313
override_dh_auto_test:
1414
ctest --output-on-failure -R '^(I|T)' --test-dir _build

rpm/libsilkit4.spec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ Utility programs for libsilkit. Includes
3737
%global toolchain clang
3838
%define __builder ninja
3939
%cmake -DSILKIT_INSTALL_SOURCE=Off -DSILKIT_BUILD_LINUX_PACKAGE=On \\\
40+
-DSILKIT_BUILD_DEMOS=Off \\\
4041
-S . \\\
4142
-GNinja \\\
4243
-DCMAKE_EXE_LINKER_FLAGS="${CMAKE_EXE_LINKER_FLAGS} -Wl,--undefined-version -fuse-ld=lld -Wl,--build-id=sha1 -pie" \\\

0 commit comments

Comments
 (0)