[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1068924: libembree-dev: Please build with ISPC enabled



Package: libembree-dev
Severity: wishlist
Tags: patch
X-Debbugs-Cc: francois@mzf.fr

Dear Maintainer,

I'm working on packaging Intel OSPRay [1], and it needs ispc support of embree.

Attached a patch that enable ispc for libembree-dev.

Could you please enable ISPC support in Embree? I can NMU if you have no time
for this.

Best,

François

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1039111


-- System Information:
Debian Release: 12.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-17-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libembree-dev depends on:
ii  libembree3-3  3.13.5+dfsg-2
pn  libtbb-dev    <none>

libembree-dev recommends no packages.

Versions of packages libembree-dev suggests:
pn  embree-tools  <none>
diff --git a/debian/control b/debian/control
index 924a8df..8ab7271 100644
--- a/debian/control
+++ b/debian/control
@@ -9,6 +9,7 @@ Build-Depends:
  cmake,
  debhelper-compat (= 13),
  freeglut3-dev,
+ ispc,
  libglfw3-dev,
  libjpeg-dev,
  libopenimageio-dev,
diff --git a/debian/rules b/debian/rules
index 5d933e2..8ccb71a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,7 +25,7 @@ override_dh_auto_configure:
        dh_auto_configure -- \
                -DCMAKE_SKIP_RPATH=ON \
                -DEMBREE_BACKFACE_CULLING=OFF \
-               -DEMBREE_ISPC_SUPPORT=OFF \
+               -DEMBREE_ISPC_SUPPORT=ON \
                -DEMBREE_RAY_MASK=ON \
                -DEMBREE_ARM=$(EMBREE_ARM) \
                -DEMBREE_IGNORE_CMAKE_CXX_FLAGS=OFF \

Reply to: