[cpp-linbuild] 15/25: Fix dependency encoding at Makefile level

Scott Cantor cantor.2 at osu.edu
Mon Apr 5 12:46:58 UTC 2021


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

scantor 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=9ccab6b3eb8e5fbd39e0d6baaa6243743fa910cb

commit 9ccab6b3eb8e5fbd39e0d6baaa6243743fa910cb
Author: John W. O'Brien <john at saltant.com>
AuthorDate: Wed Dec 23 14:40:24 2020 -0500

    Fix dependency encoding at Makefile level
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 30f4ef3..abb5a17 100644
--- a/Makefile
+++ b/Makefile
@@ -166,10 +166,10 @@ $(foreach component,$(COMPONENTS),$(eval $(call validity-component,$(component))
 # Each component may depend on other components, generally or on
 # specific platforms
 define dependencies-component-platform
-$$($(1)_COMPNAME)_$(2): $(foreach depend,$$($(1)_DEPENDS),$$($(depend)_COMPNAME)_$(1)) $(foreach component,$$($(1)_DEPENDS_$(2)),$$($(component)_COMPNAME)_$(1))
+$($(1)_COMPNAME)_$(2): $(foreach depend,$($(1)_DEPENDS),$($(depend)_COMPNAME)_$(2)) $(foreach component,$($(1)_DEPENDS_$(2)),$($(component)_COMPNAME)_$(2))
 endef
 
-$(foreach platform,$(PLATFORMS),$(foreach component,$(COMPONENTS),$(eval $(call dependencies-component-platform,$(platform),$(component)))))
+$(foreach platform,$(PLATFORMS),$(foreach component,$(COMPONENTS),$(eval $(call dependencies-component-platform,$(component),$(platform)))))
 
 # Build a docker image for each supported platform
 define build-docker-image-platform

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


More information about the commits mailing list