Module: Mesa
Branch: master
Commit: cd135b877db239e70e50922955218106d32bac00
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=cd135b877db239e70e50922955218106d32bac00

Author: Mauro Rossi <[email protected]>
Date:   Tue Mar 23 00:21:24 2021 +0100

android: r600/sfn: fix sfn_nir_algebraic.c gen rules

Changelog:
- Correct typo in generator name which is sfn_nir_algebraic.py
- Rename variables for the gen rules according to meson rules
- Align python command and options according to meson rules

Fixes the following building error:

FAILED: ninja: 
'external/mesa/src/gallium/drivers/r600/sfn/r600_nir_algebraic.py',
needed by 
'out/target/product/x86_64/gen/STATIC_LIBRARIES/libmesa_pipe_r600_intermediates/sfn_nir_algebraic.c',
missing and no known rule to make it

Fixes: 195952786b08 ("r600/sfn: Add algebraic lowering for fsin and fcos")
Reviewed-by: Gert Wollny <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9766>

---

 src/gallium/drivers/r600/Android.mk | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/gallium/drivers/r600/Android.mk 
b/src/gallium/drivers/r600/Android.mk
index 9d6b4c34d87..b87fc91e60a 100644
--- a/src/gallium/drivers/r600/Android.mk
+++ b/src/gallium/drivers/r600/Android.mk
@@ -49,14 +49,14 @@ $(intermediates)/egd_tables.h: 
$(MESA_TOP)/src/gallium/drivers/r600/egd_tables.p
        @echo "Gen Header: $(PRIVATE_MODULE) <= $(notdir $(@))"
        $(hide) $(MESA_PYTHON2) 
$(MESA_TOP)/src/gallium/drivers/r600/egd_tables.py 
$(MESA_TOP)/src/gallium/drivers/r600/evergreend.h > $@
 
-r600_nir_algebraic_gen := $(LOCAL_PATH)/sfn/r600_nir_algebraic.py
-r600_nir_algebraic_deps := \
-       $(LOCAL_PATH)/sfn/r600_nir_algebraic.py \
+sfn_nir_algebraic_gen := $(LOCAL_PATH)/sfn/sfn_nir_algebraic.py
+sfn_nir_algebraic_deps := \
+       $(LOCAL_PATH)/sfn/sfn_nir_algebraic.py \
        $(MESA_TOP)/src/compiler/nir/nir_algebraic.py
 
-$(intermediates)/sfn_nir_algebraic.c: $(r600_nir_algebraic_deps)
+$(intermediates)/sfn_nir_algebraic.c: $(sfn_nir_algebraic_deps)
        @mkdir -p $(dir $@)
-       $(hide) $(MESA_PYTHON2) $(nir_opt_algebraic_gen) $< > $@
+       $(hide) $(MESA_PYTHON2) $(sfn_nir_algebraic_gen) -p 
$(MESA_TOP)/src/compiler/nir/ > $@
 
 ifeq ($(MESA_ENABLE_LLVM),true)
 $(call mesa-build-with-llvm)

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to