aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/Makefile.nir.am
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2017-08-14 10:40:09 -0700
committerIan Romanick <[email protected]>2018-03-29 14:16:01 -0700
commit042ee4bea26272bd7c358cc9541e576a8352890c (patch)
treed03707e886103019722ee20ba86cdf57c67b7097 /src/compiler/Makefile.nir.am
parent2c9621ee5c5fa40be071858f99fb256fc37369b4 (diff)
spirv: Move SPIR-V building to Makefile.spirv.am and spirv/meson.build
Future changes will add generated files used only from src/compiler/glsl. These can't be built from Makefile.nir.am, and we can't move all the rules from Makefile.nir.am to Makefile.spirv.am (and it would be silly anyway). v2: Do it for meson too. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> (the meson bits) Reviewed-by: Alejandro PiƱeiro <[email protected]> (the automake bits)
Diffstat (limited to 'src/compiler/Makefile.nir.am')
-rw-r--r--src/compiler/Makefile.nir.am36
1 files changed, 2 insertions, 34 deletions
diff --git a/src/compiler/Makefile.nir.am b/src/compiler/Makefile.nir.am
index d805f573d51..32e4145b70f 100644
--- a/src/compiler/Makefile.nir.am
+++ b/src/compiler/Makefile.nir.am
@@ -60,33 +60,6 @@ nir/nir_opt_algebraic.c: nir/nir_opt_algebraic.py nir/nir_algebraic.py
$(MKDIR_GEN)
$(PYTHON_GEN) $(srcdir)/nir/nir_opt_algebraic.py > $@ || ($(RM) $@; false)
-spirv/spirv_info.c: spirv/spirv_info_c.py spirv/spirv.core.grammar.json
- $(MKDIR_GEN)
- $(PYTHON_GEN) $(srcdir)/spirv/spirv_info_c.py $(srcdir)/spirv/spirv.core.grammar.json $@ || ($(RM) $@; false)
-
-spirv/vtn_gather_types.c: spirv/vtn_gather_types_c.py spirv/spirv.core.grammar.json
- $(MKDIR_GEN)
- $(PYTHON_GEN) $(srcdir)/spirv/vtn_gather_types_c.py $(srcdir)/spirv/spirv.core.grammar.json $@ || ($(RM) $@; false)
-
-noinst_PROGRAMS += spirv2nir
-
-spirv2nir_SOURCES = \
- spirv/spirv2nir.c
-
-spirv2nir_CPPFLAGS = \
- $(AM_CPPFLAGS) \
- -I$(top_builddir)/src/compiler/nir \
- -I$(top_srcdir)/src/compiler/nir \
- -I$(top_srcdir)/src/compiler/spirv
-
-spirv2nir_LDADD = \
- nir/libnir.la \
- $(top_builddir)/src/util/libmesautil.la \
- -lm \
- $(PTHREAD_LIBS)
-
-nodist_EXTRA_spirv2nir_SOURCES = dummy.cpp
-
check_PROGRAMS += nir/tests/control_flow_tests
nir_tests_control_flow_tests_CPPFLAGS = \
@@ -109,12 +82,10 @@ TESTS += nir/tests/control_flow_tests
BUILT_SOURCES += \
- $(NIR_GENERATED_FILES) \
- $(SPIRV_GENERATED_FILES)
+ $(NIR_GENERATED_FILES)
CLEANFILES += \
- $(NIR_GENERATED_FILES) \
- $(SPIRV_GENERATED_FILES)
+ $(NIR_GENERATED_FILES)
EXTRA_DIST += \
nir/nir_algebraic.py \
@@ -129,7 +100,4 @@ EXTRA_DIST += \
nir/nir_opt_algebraic.py \
nir/tests \
nir/README \
- spirv/spirv_info_c.py \
- spirv/spirv.core.grammar.json \
- spirv/vtn_gather_types_c.py \
SConscript.nir