mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 01:50:10 +01:00
radeonsi: port amdgcn_glslc build to meson
Seems nice to reduce the number of old-fashioned build systems we have in-tree. Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16789>
This commit is contained in:
parent
72cf18f54a
commit
69d55f42b6
2 changed files with 9 additions and 7 deletions
|
|
@ -1,4 +1,4 @@
|
|||
Type "make" to build amdgcn_glslc.
|
||||
Type "meson build && meson compile -C build" to build amdgcn_glslc.
|
||||
|
||||
amdgcn_glslc works only if radeonsi_dri.so is loaded by libGL.
|
||||
It's just a GL application that sets R600_DEBUG and captures stderr.
|
||||
|
|
|
|||
|
|
@ -19,11 +19,13 @@
|
|||
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
# IN THE SOFTWARE.
|
||||
|
||||
CFLAGS ?= -g -O2 -march=native -pipe
|
||||
CFLAGS += -std=gnu99 -fopenmp
|
||||
LDLIBS = -lepoxy -lgbm
|
||||
project('glsl_tests', 'c')
|
||||
|
||||
amdgcn_glslc:
|
||||
dep_epoxy = dependency('epoxy')
|
||||
dep_gbm = dependency('gbm')
|
||||
|
||||
clean:
|
||||
rm -f amdgcn_glslc
|
||||
executable(
|
||||
'amdgcn_glslc',
|
||||
files('amdgcn_glslc.c'),
|
||||
dependencies: [dep_epoxy, dep_gbm]
|
||||
)
|
||||
Loading…
Add table
Reference in a new issue