Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Jan 18, 2024
1 parent e18687d commit 6c1298c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SCRAM/GMake/Makefile.bigedm.rules
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ $($(1)_objdir)/bigobj/$(3)/$(1).$(BIGLIB_OBJEXT): $(subst $($(1)_objdir)/,$($(1)
$$(call big_obj,$(2),$(1),$$^,$(SCRAMSTORENAME_OBJS),$3)
endef
define TargetBigPlugin
$(1)_$(3)_BUILD_ENV:=CMSSW_CPU_TYPE=$(patsubst scram_%,%$3) &&
$(1)_$(3)_BUILD_ENV:=CMSSW_CPU_TYPE=$(patsubst scram_%,%,$3) &&
$(1)_objs_$3:=$(foreach o,$($(1)_objs),$(eval n:=$(basename $(notdir $o)))\
$(if $(strip $(filter $3,$($(n)_LOC_FLAGS_TARGETS))),\
$(subst /$(n).$(BIGLIB_OBJEXT),/$3/$(n).$(BIGLIB_OBJEXT),$o),\
Expand Down
2 changes: 1 addition & 1 deletion SCRAM/GMake/Makefile.rules
Original file line number Diff line number Diff line change
Expand Up @@ -1297,7 +1297,7 @@ endef
#safename,path,safepath,scriptstore,scripts,libstore,logprodstore,plugintype
define Library
$(1)_plugintype:=$(8)
ifeq ($(SCRAM_MULTI_TARGET),1)
ifeq ($(strip $(SCRAM_MULTI_TARGET)$(filter alpaka/cuda alpaka/rocm,$($(1)_PRODUCT_TYPE))),1)
ifeq ($(strip $(USER_TARGETS_ALL)),1)
$(1)_LOC_FLAGS_TARGETS:=$(call GetCompilerData,$1,SCRAM_TARGETS)
else ifeq ($(strip $($(1)_LOC_FLAGS_TARGETS)),1)
Expand Down

0 comments on commit 6c1298c

Please sign in to comment.