Re: [Libva] [PATCH intel-driver] shaders/gen9: fix build when no intel-gen4asm available
Applied. Thanks Haihao > On 07/21/2016 12:33 AM, U. Artie Eoff wrote: > > If intel-gen4asm version is< 1.9 or not installed then we > > shouldn't run the associated make rules. > > > > This fixes 'make dist' failure. > > This looks good to me. > > Add: Reviewed-by: Zhao Yakui > > > > > Signed-off-by: U. Artie Eoff > > --- > > src/shaders/post_processing/gen9/Makefile.am | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/src/shaders/post_processing/gen9/Makefile.am > > b/src/shaders/post_processing/gen9/Makefile.am > > index 1e32dffd6abd..3e0c2cec5c80 100644 > > --- a/src/shaders/post_processing/gen9/Makefile.am > > +++ b/src/shaders/post_processing/gen9/Makefile.am > > @@ -56,6 +56,7 @@ all-local: $(TARGETS) > > > > SUFFIXES = .g9b .g9s .asm > > > > +if HAVE_GEN4ASM > > $(INTEL_PP_GEN9_ASM): $(INTEL_PP_ASM) $(INTEL_PP_G9A) > > .asm.g9s: > > $(AM_V_GEN)cpp $< > _pp0.$@; \ > > @@ -63,6 +64,7 @@ $(INTEL_PP_GEN9_ASM): $(INTEL_PP_ASM) > > $(INTEL_PP_G9A) > > rm _pp0.$@ > > .g9s.g9b: > > $(AM_V_GEN)$(GEN4ASM) -a -o $@ -g 9 $< > > +endif > > > > CLEANFILES = $(INTEL_PP_GEN9_ASM) > > > > ___ > Libva mailing list > Libva@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/libva ___ Libva mailing list Libva@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libva
Re: [Libva] [PATCH intel-driver] shaders/gen9: fix build when no intel-gen4asm available
On 07/21/2016 12:33 AM, U. Artie Eoff wrote: If intel-gen4asm version is< 1.9 or not installed then we shouldn't run the associated make rules. This fixes 'make dist' failure. This looks good to me. Add: Reviewed-by: Zhao Yakui Signed-off-by: U. Artie Eoff --- src/shaders/post_processing/gen9/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/shaders/post_processing/gen9/Makefile.am b/src/shaders/post_processing/gen9/Makefile.am index 1e32dffd6abd..3e0c2cec5c80 100644 --- a/src/shaders/post_processing/gen9/Makefile.am +++ b/src/shaders/post_processing/gen9/Makefile.am @@ -56,6 +56,7 @@ all-local: $(TARGETS) SUFFIXES = .g9b .g9s .asm +if HAVE_GEN4ASM $(INTEL_PP_GEN9_ASM): $(INTEL_PP_ASM) $(INTEL_PP_G9A) .asm.g9s: $(AM_V_GEN)cpp $< > _pp0.$@;\ @@ -63,6 +64,7 @@ $(INTEL_PP_GEN9_ASM): $(INTEL_PP_ASM) $(INTEL_PP_G9A) rm _pp0.$@ .g9s.g9b: $(AM_V_GEN)$(GEN4ASM) -a -o $@ -g 9 $< +endif CLEANFILES = $(INTEL_PP_GEN9_ASM) ___ Libva mailing list Libva@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libva
[Libva] [PATCH intel-driver] shaders/gen9: fix build when no intel-gen4asm available
If intel-gen4asm version is < 1.9 or not installed then we shouldn't run the associated make rules. This fixes 'make dist' failure. Signed-off-by: U. Artie Eoff --- src/shaders/post_processing/gen9/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/shaders/post_processing/gen9/Makefile.am b/src/shaders/post_processing/gen9/Makefile.am index 1e32dffd6abd..3e0c2cec5c80 100644 --- a/src/shaders/post_processing/gen9/Makefile.am +++ b/src/shaders/post_processing/gen9/Makefile.am @@ -56,6 +56,7 @@ all-local: $(TARGETS) SUFFIXES = .g9b .g9s .asm +if HAVE_GEN4ASM $(INTEL_PP_GEN9_ASM): $(INTEL_PP_ASM) $(INTEL_PP_G9A) .asm.g9s: $(AM_V_GEN)cpp $< > _pp0.$@;\ @@ -63,6 +64,7 @@ $(INTEL_PP_GEN9_ASM): $(INTEL_PP_ASM) $(INTEL_PP_G9A) rm _pp0.$@ .g9s.g9b: $(AM_V_GEN)$(GEN4ASM) -a -o $@ -g 9 $< +endif CLEANFILES = $(INTEL_PP_GEN9_ASM) -- 2.1.0 ___ Libva mailing list Libva@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libva