[cpp-linbuild] 01/03: Suppress component_platform dependencies on non-existent platforms

John W. O'Brien john at saltant.com
Fri Oct 20 16:26:05 UTC 2023


This is an automated email from the git hooks/post-receive script.

obrienjw pushed a commit to branch main
in repository cpp-linbuild.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-linbuild.git;a=commit;h=87d011ce54d03df4e546435c54dab3449c84e572

commit 87d011ce54d03df4e546435c54dab3449c84e572
Author: John W. O'Brien <john at saltant.com>
AuthorDate: Thu Oct 12 07:47:49 2023 -0400

    Suppress component_platform dependencies on non-existent platforms
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 5d2a479..8a05fca 100644
--- a/Makefile
+++ b/Makefile
@@ -206,7 +206,7 @@ $(foreach component,$(COMPONENTS),$(eval $(component)_VALID_PLATFORMS ?= $(PLATF
 
 # Each virtual component depends on being built on all valid platforms
 define validity-component
-$$($(1)_COMPNAME): $(foreach platform,$($(1)_VALID_PLATFORMS),$$($(1)_COMPNAME)_$(platform))
+$$($(1)_COMPNAME): $(foreach platform,$($(1)_VALID_PLATFORMS),$(if $(filter $(platform), $(PLATFORMS)), $$($(1)_COMPNAME)_$(platform)))
 endef
 
 $(foreach component,$(COMPONENTS),$(eval $(call validity-component,$(component))))

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list