Skip to content

Commit

Permalink
graphics/mesa: Update to 24.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
evadot committed Feb 17, 2024
1 parent 7b40a1d commit 6e197c6
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 26 deletions.
2 changes: 1 addition & 1 deletion graphics/mesa-dri/Makefile.common
Expand Up @@ -12,7 +12,7 @@
MESAVERSION= ${MESABASEVERSION}${MESASUBVERSION:C/^(.)/.\1/}
MESADISTVERSION=${MESABASEVERSION}${MESASUBVERSION:C/^(.)/-\1/}

MESABASEVERSION= 23.3.5
MESABASEVERSION= 24.0.1
# if there is a subversion, don't include the '-' between 7.11-rc2.
MESASUBVERSION=

Expand Down
6 changes: 3 additions & 3 deletions graphics/mesa-dri/distinfo
@@ -1,6 +1,6 @@
TIMESTAMP = 1706768999
SHA256 (mesa-23.3.5.tar.xz) = 69ccb1278641ff5bad71ca0f866188aeb1a92aadc4dbb9d35f50aebec5b8b50f
SIZE (mesa-23.3.5.tar.xz) = 19429564
TIMESTAMP = 1708019786
SHA256 (mesa-24.0.1.tar.xz) = f387192b08c471c545590dd12230a2a343244804b5fe866fec6aea02eab57613
SIZE (mesa-24.0.1.tar.xz) = 19950992
SHA256 (4a253aae7ca437201d2a31d2a11a1a5434fe41f1.patch) = 84f18f14788bd8f387e2fc754b945bf30f84b517dd917785ed5d8ef1d594e24a
SIZE (4a253aae7ca437201d2a31d2a11a1a5434fe41f1.patch) = 1626
SHA256 (7c565db35d39bdbf4e4f867ea19f78b97c8c126f.patch) = 5af88a22abfadb91f6626c9244ed2a365e2bb283e0a42399082d1e909136d5f3
Expand Down
@@ -0,0 +1,11 @@
--- src/gallium/winsys/amdgpu/drm/amdgpu_bo.c.orig 2024-02-16 16:21:40 UTC
+++ src/gallium/winsys/amdgpu/drm/amdgpu_bo.c
@@ -709,7 +709,7 @@ struct pb_slab *amdgpu_bo_slab_alloc(void *priv, unsig
slab_bo->slab.group_index = group_index;
slab_bo->slab.entry_size = entry_size;
slab_bo->entries = os_malloc_aligned(slab_bo->slab.num_entries * sizeof(*slab_bo->entries),
- CACHE_LINE_SIZE);
+ MESA_CACHE_LINE_SIZE);
if (!slab_bo->entries)
goto fail;

22 changes: 0 additions & 22 deletions graphics/mesa-dri/files/patch-src_util_os__file.c

This file was deleted.

4 changes: 4 additions & 0 deletions lang/clover/Makefile
Expand Up @@ -12,8 +12,10 @@ ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc64 powerpc64le
ONLY_FOR_ARCHS_REASON= needs a GPU supported by the AMDGPU KMS driver

BUILD_DEPENDS= libclc>=0.3.0:devel/libclc \
spirv-tools>=0:graphics/spirv-tools \
opencl>=0:devel/opencl
LIB_DEPENDS= libOpenCL.so:devel/ocl-icd \
libLLVMSPIRVLib.so.${LLVM_VERSION}:devel/spirv-llvm-translator@${LLVM_PORT:T} \
libzstd.so:archivers/zstd
RUN_DEPENDS= libclc>=0.3.0:devel/libclc \
opencl>=0:devel/opencl
Expand Down Expand Up @@ -48,6 +50,8 @@ MESON_ARGS+= -Dplatforms="" \

LDFLAGS_i386= -Wl,-znotext

CONFIGURE_ENV+= PKG_CONFIG_PATH="${LLVM_PREFIX}/libdata/pkgconfig"

.include "${MASTERDIR}/Makefile.targets"

pre-patch:
Expand Down

0 comments on commit 6e197c6

Please sign in to comment.