Skip to content

Commit a7d23e7

Browse files
committed
faasm: different names depending on mpi or openmp kernels
1 parent 69233b4 commit a7d23e7

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

common/make.common

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ endif
1515
$(PROGRAM):$(OBJS)
1616
$(CLINKER) -o $(PROGRAM) $(LIBPATHS) $(CFLAGS) $(OBJS) $(EXTOBJS) $(LIBS) $(LDFLAGS)
1717
ifeq ($(FAASM_WASM),on)
18-
cp $(PROGRAM) ../../build/wasm/$(PROGRAM).wasm
18+
cp $(PROGRAM) ../../build/wasm/${FAASM_KERNEL_TYPE}_$(PROGRAM).wasm
1919
else
20-
cp $(PROGRAM) ../../build/native/$(PROGRAM).o
20+
cp $(PROGRAM) ../../build/native/${FAASM_KERNEL_TYPE}_$(PROGRAM).o
2121
endif
2222

2323

wasm/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)