Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 941990 - media-gfx/blender-4.2.1 blender does not build with oneapi use flag - SYCL not found
Summary: media-gfx/blender-4.2.1 blender does not build with oneapi use flag - SYCL n...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Paul Zander
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-23 02:16 UTC by Mark Herbert
Modified: 2025-04-22 00:41 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info.txt,7.97 KB, text/plain)
2024-10-23 04:48 UTC, Mark Herbert
Details
build.log (build.log,26.52 KB, text/x-log)
2024-10-23 04:49 UTC, Mark Herbert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Herbert 2024-10-23 02:16:45 UTC
-- Could NOT find SYCL (missing: SYCL_LIBRARY SYCL_INCLUDE_DIR) 
-- Found LevelZero: /usr/lib64/libze_loader.so
CMake Error at build_files/cmake/macros.cmake:1408 (message):
  oneAPI required but not found
Call Stack (most recent call first):
  intern/cycles/cmake/external_libs.cmake:105 (set_and_warn_library_found)
  intern/cycles/CMakeLists.txt:23 (include)


From oneapi deps I see only intel-compute-runtime, and could not find any idea how to get that missing SYCL libs
Comment 1 Greg Kubaryk 2024-10-23 02:42:04 UTC
build.log, emerge --info?
Comment 2 Mark Herbert 2024-10-23 04:48:47 UTC
Created attachment 906588 [details]
emerge --info
Comment 3 Mark Herbert 2024-10-23 04:49:41 UTC
Created attachment 906589 [details]
build.log
Comment 4 Greg Kubaryk 2024-10-23 05:33:38 UTC
thanks!
Comment 5 Cursed Silicon 2024-11-12 02:14:57 UTC
This may also be related to https://bugs.gentoo.org/882645 (Intel OneAPI support)
Comment 6 Mark Herbert 2024-11-16 17:35:51 UTC
seems that the issue is missing sycl library in gentoo. I've managed to get DPC++ from science overlay merged (outdated package, so was not easy). So seems that a lot of oneAPI is missing in Gentoo... And it is crazy - since that 2022.12 version Intel has split the build into more small packages , they all fetched from git tree based on commit hash during compile time.
Comment 7 Larry the Git Cow gentoo-dev 2025-04-22 00:41:09 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=884fa684aa710570e8b3929ea3fee9e4867e9121

commit 884fa684aa710570e8b3929ea3fee9e4867e9121
Author:     Paul Zander <negril.nx+gentoo@gmail.com>
AuthorDate: 2025-04-21 17:44:39 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-04-22 00:37:48 +0000

    media-gfx/blender: drop oneapi from non live ebuilds
    
    Requires SYCL/DCP++ from ::science which barely builds these days.
    
    Closes: https://bugs.gentoo.org/941990
    Bug: https://bugs.gentoo.org/882645
    Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 media-gfx/blender/blender-4.1.1-r5.ebuild |  8 ++------
 media-gfx/blender/blender-4.2.4-r2.ebuild | 16 +---------------
 media-gfx/blender/blender-4.3.2-r2.ebuild | 10 +---------
 profiles/arch/amd64/package.use.mask      |  2 +-
 profiles/arch/base/package.use.mask       |  6 +++++-
 5 files changed, 10 insertions(+), 32 deletions(-)