Comments (2)
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.
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)
- `c_std` supports list but `objc_std` doesn't
- macos framework paths not found when using clang with -std=C++<ver> or std=gnu++<ver> external CXX args HOT 5
- Incorrect host architecture with x86 clang-cl HOT 4
- Incorrect testing of MSVC version in test cases/windows/19 HOT 2
- Meson trivial test fails with x86 MSVC HOT 1
- `ERROR: Unknown options: "b_pie"` when project already configured HOT 1
- typos HOT 14
- some Apple compilers are broken in the sanitycheck from missing LC_RPATH HOT 10
- Detect free-threaded Python from configuration HOT 1
- Bug when pkgcconfig.generate receives a dependency object containing BothLibraries
- Add option to link with a dependency even if no symbols are used HOT 4
- configure_file with format cmake doesn't handle @var@ like CMake does HOT 3
- [feature] Support linear assembly of TI DSP
- git rebase HOT 3
- suffix instead of name_suffix in docs
- arguments in TI C28x cross builds are incorrectly ordered and compiler args are missing from the linker command HOT 2
- Mesons checks can fail with certain strict compiler settings due to missing newlines at EOF
- illumos: Assert failed: FILE structure is defined in stdio.h, not stdlib.h HOT 10
- Global opt-out for `implicit_include_directories` HOT 1
- cuda module can't create arch flags for sm_8.7 (orin)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meson.