Skip to content

Commit

Permalink
Fat runtime for ubuntu22 (intel#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
vankoven authored Mar 13, 2024
2 parents 10e44ed + f98f7d0 commit fbd33ed
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
6 changes: 6 additions & 0 deletions debian.dkms/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
sifter-rex (0.3-1) unstable; urgency=medium

* package rebuild, no updates

-- Ivan Koveshnikov <[email protected]> Mon, 11 Mar 2024 22:37:10 +0100

sifter-rex (0.3) unstable; urgency=medium

* Update to version 5.4.2
Expand Down
6 changes: 6 additions & 0 deletions debian.lib/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
sifterhyperscan (5.4.2-2) unstable; urgency=medium

* Return support for fat runtime for userspace library

-- Ivan Koveshnikov <[email protected]> Mon, 11 Mar 2024 22:37:10 +0100

sifterhyperscan (5.4.2-1) unstable; urgency=medium

* New upstream release
Expand Down
15 changes: 13 additions & 2 deletions debian.lib/rules
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# This option brings dpkg-buildflags with LTO, which breaks the fat runtime builds
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all

export DEB_CFLAGS_MAINT_STRIP = "-flto=auto -ffat-lto-objects"
export DEB_CXXFLAGS_MAINT_STRIP = "-flto=auto -ffat-lto-objects"
export DEB_CPPFLAGS_MAINT_STRIP = "-flto=auto -ffat-lto-objects"
export DEB_LDFLAGS_MAINT_STRIP = "-flto=auto -ffat-lto-objects"
export DEB_OBJCFLAGS_MAINT_STRIP = "-flto=auto -ffat-lto-objects"
export DEB_OBJCXXFLAGS_MAINT_STRIP = "-flto=auto -ffat-lto-objects"

include /usr/share/dpkg/buildflags.mk

%:
dh $@ --buildsystem=cmake
Expand All @@ -12,7 +22,8 @@ override_dh_auto_configure:
dh_auto_configure -- \
-DBUILD_STATIC_AND_SHARED=1 \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DFAT_RUNTIME=OFF \
-DBUILD_AVX512=on \
-DBUILD_AVX512VBMI=on \
-DTEST_XDPSCAN=ON

override_dh_missing:
Expand Down

0 comments on commit fbd33ed

Please sign in to comment.