Git Product home page Git Product logo

Comments (2)

ThatOneCalculator avatar ThatOneCalculator commented on September 23, 2024

This is a mesa issue, not a meson issue. https://gitlab.freedesktop.org/mesa/mesa/-/issues/11178

For now, use this diff on the PKGBUILD

diff --git a/PKGBUILD b/PKGBUILD
index 68b0dac..701a628 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -216,10 +216,10 @@ pkgver() {
 }

 prepare() {
-    # although removing _build folder in build() function feels more natural,
+    # although removing mesa/_build folder in build() function feels more natural,
     # that interferes with the spirit of makepkg --noextract
-    if [  -d _build ]; then
-        rm -rf _build
+    if [  -d mesa/_build ]; then
+        rm -rf mesa/_build
     fi

     local _patchfile
@@ -278,13 +278,13 @@ build () {
     CFLAGS+=' -g1'
     CXXFLAGS+=' -g1'

-    meson setup mesa _build "${meson_options[@]}"
-    meson configure --no-pager _build
-    ninja $NINJAFLAGS -C _build
+    meson setup mesa mesa/_build "${meson_options[@]}"
+    meson configure --no-pager mesa/_build
+    ninja $NINJAFLAGS -C mesa/_build
 }

 package() {
-    DESTDIR="${pkgdir}" ninja $NINJAFLAGS -C _build install
+    DESTDIR="${pkgdir}" ninja $NINJAFLAGS -C mesa/_build install

     # remove script file from /usr/bin
     # https://gitlab.freedesktop.org/mesa/mesa/issues/2230

from meson.

karolherbst avatar karolherbst commented on September 23, 2024

fyi I have an MR against mesa for this: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29275

though I do wonder what the preferred solution to this issue should look like.

from meson.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.