Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jingyun Hua
aports
Commits
f5964298
Commit
f5964298
authored
2 months ago
by
Jingyun Hua
Committed by
Natanael Copa
2 months ago
Browse files
Options
Downloads
Patches
Plain Diff
main/mesa: enable TLSDESC on loongarch64
ref:
alpine/aports!71733
ref:
alpine/aports!71734
parent
f8961144
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
main/mesa/APKBUILD
+2
-2
2 additions, 2 deletions
main/mesa/APKBUILD
main/mesa/riscv64-tls.patch
+1
-3
1 addition, 3 deletions
main/mesa/riscv64-tls.patch
with
3 additions
and
5 deletions
main/mesa/APKBUILD
+
2
−
2
View file @
f5964298
...
...
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname
=
mesa
pkgver
=
24.3.2
pkgrel
=
0
pkgrel
=
1
pkgdesc
=
"Mesa DRI OpenGL library"
url
=
"https://www.mesa3d.org"
arch
=
"all"
...
...
@@ -405,5 +405,5 @@ _vulkan_layers() {
sha512sums
=
"
ea1065f7b466f1b2b3570c87585d6de15e3784a60d920c9f991c22720197d5947b598ac2c76773bed8150c91360ee5bbc77f3b48780a19502a8c4224baa728b9 mesa-24.3.2.tar.xz
f4d6589f632ef4306fac031b4832953a6e8855341999a2366696b25bbdc2619bd068711e4ca3825c219a7dd6b1bd3837f5127daaff363b390098824f7988631a 245e063ee74b88479bd69246ba07bdfd52985ebd.patch
c
151f9
fb
3
d4
d2e49fcdbbea492c7c1946148333c74a7356abce33594487b2ed512434673e8dcc279219d7ad068bd04c8cc329fa6f2e897e6311441fe65e061db
riscv64-tls.patch
c
e1887
fb
7
d4
25b94c375a0547bee40c308809c01f5ce1bcddabcc69a7fcb445efb9d5f5c7bac49b2778ab40687c7bce204d278b0bf028d124c75e59083107fba
riscv64-tls.patch
"
This diff is collapsed.
Click to expand it.
main/mesa/riscv64-tls.patch
+
1
−
3
View file @
f5964298
upstream: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11729
also loongarch64 needs to use -mtls-dialect=trad
diff --git a/meson.build b/meson.build
index 3d72bb56f25..5161c97af11 100644
--- a/meson.build
...
...
@@ -11,7 +9,7 @@ index 3d72bb56f25..5161c97af11 100644
endif
endforeach
-if not have_mtls_dialect
+if not have_mtls_dialect and host_machine.cpu_family() != 'riscv64'
and host_machine.cpu_family() != 'loongarch64'
+if not have_mtls_dialect and host_machine.cpu_family() != 'riscv64'
# need .run to check libc support. meson aborts when calling .run when
# cross-compiling, but because this is just an optimization we can skip it
if meson.is_cross_build() and not meson.can_run_host_binaries()
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment