Summary: | meson/macOS: Dependency libdrm_intel found: NO | ||
---|---|---|---|
Product: | Mesa | Reporter: | Yurii Kolesnykov <root> |
Component: | Other | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | mesa-dev |
Severity: | normal | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Mac OS X (All) | ||
URL: | https://gist.github.com/yurikoles/cb1905ab50e3076713e5857ea5f8bb1d | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Yurii Kolesnykov
2017-10-17 11:50:39 UTC
libdrm_intel is needed to build i915; if you want to disable it you can use `-Ddri-drivers=i965` (or any other value that doesn't contain `i915`, although right now those are the only possibilities) How did you configure autotools when that's what you were using to build mesa? autotools detects possible drivers per platform and per cpu arch. The latter may be an overkill but the former is a must IMHO. Currently I haven't tested building on any platform other than Linux for meson. Honestly macOS isn't on my list of targets, I don't have a mac to test with and my employer doesn't care about mesa with mac, but I'm planning to get windows working which should fix issues like looking for libdrm and trying to build drm drivers unconditionally. In the mean time (or after windows support lands) if macOS is of interest to you I'd be happy to review patches to support meson on macOS. If that's of interest to you there is more work that needs to be done than just fixing the list of drivers that are being built by default on non-free oses (xlib based glx isn't building with meson yet, among other things.) Okay, I've found a macbook and I'm going to look into getting meson working for macos. I need some information though. What configuration options are supposed to work on macOS? swrast? softpipe? llvmpipe? osmesa? glx? egl? obviously not dri drivers. What autotools configuration did you provide? What packages did you have to install from source/macports/homebrew/etc. I can successfully build mesa under macOS 10.14 (Mojave). |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.