Skip to content

Commit ce2a577

Browse files
committed
Use full process name for the library, to interface better with MadSpace - ok to cherry-pick
1 parent 1b369b5 commit ce2a577

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • PLUGIN/CUDACPP_OUTPUT/madgraph/iolibs/template_files/gpu

PLUGIN/CUDACPP_OUTPUT/madgraph/iolibs/template_files/gpu/cudacpp.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@ $(LIBDIR)/lib$(MG5AMC_COMMONLIB).so: ../../src/*.h ../../src/*.cc $(BUILDDIR)/.b
834834

835835
#-------------------------------------------------------------------------------
836836

837-
processid_short=$(shell basename $(CURDIR) | awk -F_ '{print $$(NF-1)"_"$$NF}')
837+
processid_short=$(shell basename $(CURDIR) | cut -d_ -f 2-)
838838
###$(info processid_short=$(processid_short))
839839

840840
MG5AMC_CXXLIB = mg5amc_$(processid_short)_cpp

0 commit comments

Comments
 (0)