Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mesa 23.1.8 #144383

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions Formula/m/mesa.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@
desc "Graphics Library"
homepage "https://www.mesa3d.org/"
license "MIT"
revision 1
head "https://gitlab.freedesktop.org/mesa/mesa.git", branch: "main"

stable do
# TODO: Check if we can use unversioned `llvm` at version bump.
url "https://mesa.freedesktop.org/archive/mesa-22.3.6.tar.xz"
sha256 "4ec8ec65dbdb1ee9444dba72970890128a19543a58cf05931bd6f54f124e117f"
url "https://mesa.freedesktop.org/archive/mesa-23.1.8.tar.xz"
sha256 "45434ff91a709844130a3174d9c0ef39c6b50725b2bb0c13e736f36134db14ad"

patch do
url "https://raw.githubusercontent.com/Homebrew/formula-patches/f0a40cf7d70ee5a25639b91d9a8088749a2dd04e/mesa/fix-build-on-macOS.patch"
Expand Down Expand Up @@ -92,7 +91,7 @@
sha256 "41f5a84f8f5abe8ea2a21caebf5ff31094a46953a83a738a19e21c010c433c88"
end

def install

Check failure on line 94 in Formula/m/mesa.rb

View workflow job for this annotation

GitHub Actions / macOS 11-arm64

`brew install --verbose --build-bottle mesa` failed on macOS Big Sur (11) on Apple Silicon!

CONF '-DDEFAULT_DRIVER_DIR="/opt/homebrew/Cellar/mesa/23.1.8/lib/dri"' -MD -MQ src/loader/libloader.a.p/loader.c.o -MF src/loader/libloader.a.p/loader.c.o.d -o src/loader/libloader.a.p/loader.c.o -c ../src/loader/loader.c ../src/loader/loader.c:259:28: error: no member named 'businfo' in 'struct _drmDevice' device->businfo.pci->domain, ~~~~~~ ^ ../src/loader/loader.c:260:28: error: no member named 'businfo' in 'struct _drmDevice' device->businfo.pci->bus, ~~~~~~ ^ ../src/loader/loader.c:261:28: error: no member named 'businfo' in 'struct _drmDevice' device->businfo.pci->dev, ~~~~~~ ^ ../src/loader/loader.c:262:28: error: no member named 'businfo' in 'struct _drmDevice' device->businfo.pci->func) < 0) { ~~~~~~ ^ ../src/loader/loader.c:270:29: error: no member named 'businfo' in 'struct _drmDevice' fullname = device->businfo.platform->fullname; ~~~~~~ ^ ../src/loader/loader.c:272:29: error: no member named 'businfo' in 'struct _drmDevice' fullname = device->businfo.host1x->fullname; ~~~~~~ ^ ../src/loader/loader.c:367:26: error: no member named 'deviceinfo' in 'struct _drmDevice' devices[i]->deviceinfo.pci->vendor_id == vendor_id && ~~~~~~~~~~ ^ ../src/loader/loader.c:368:26: error: no member named 'deviceinfo' in 'struct _drmDevice' devices[i]->deviceinfo.pci->device_id == device_id) { ~~~~~~~~~~ ^ ../src/loader/loader.c:432:25: error: no member named 'deviceinfo' in 'struct _drmDevice' *vendor_id = device->deviceinfo.pci->vendor_id; ~~~~~~ ^ ../src/loader/loader.c:433:23: error: no member named 'deviceinfo' in 'struct _drmDevice' *chip_id = device->deviceinfo.pci->device_id; ~~~~~~ ^ 10 errors generated. [358/961] clang -Isrc/compiler/glsl/glcpp/libglcpp.a.p -Isrc/compiler/glsl/glcpp -I../src/compiler/glsl/glcpp -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -fvisibility=hidden -fcolor-diagnostics -DNDEBUG -Wall -Winvalid-pch -std=c11 -O3 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="23.1.8"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DHAVE_OPENGL=1 -DHAVE_OPENGL_ES_1=1 -DHAVE_OPENGL_ES_2=1 -DHAVE_SWRAST -DBUILDING_MESA -DVK_ENABLE_BETA_EXTENSIONS -DVIDEO_CODEC_VC1DEC=0 -DVIDEO_CODEC_H264DEC=0 -DVIDEO_CODEC_H264ENC=0 -DVIDEO_CODEC_H265DEC=0 -DVIDEO_CODEC_H265ENC=0 -DHAVE_X11_PLATFORM -DHAVE_XCB_PLATFORM -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_APPLEGL -DALLOW_KCMP -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -DHAVE_UINT128 -DHAVE_FMEMOPEN -DUSE_GCC_ATOMIC_BUILTINS -DHAS_SCHED_H -DHAVE_SYS_SYSCTL_H -DHAVE_XLOCALE_H -DHAVE_DLFCN_H -DHAVE_SYS_SHM_H -DHAVE_CET_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_BSD_QSORT_R -DHAVE_STRUCT_TIMESPEC -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DMESA_EXECMEM -DHAVE_LIBUNWIND -DHAVE_DRI -Werror=implicit-function-declaration -Werror=missing-pro
venv_root = buildpath/"venv"
venv = virtualenv_create(venv_root, "python3.11")

Expand Down
Loading