Skip to content

Commit

Permalink
update autoconf to copy files
Browse files Browse the repository at this point in the history
  • Loading branch information
plavin committed Sep 23, 2024
1 parent 5d49c81 commit 239e782
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/sst/elements/ariel/api/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,9 @@ endif
all-local: libarielapi.so libarielapi.a

libarielapi.so: arielapi.c arielapi.h
echo "DEBUG OUTPUT - printing directory and contents"
echo "Directory is $(PWD)"
ls
$(CC_LOCAL) $(CFLAGS_LOCAL) -fPIC -shared -o libarielapi.so $(LDFLAGS) arielapi.c

arielapi.o: arielapi.c arielapi.h
echo "DEBUG OUTPUT - printing directory and contents"
echo "Directory is $(PWD)"
ls
$(CC_LOCAL) $(CFLAGS_LOCAL) -c -o arielapi.o arielapi.c

libarielapi.a: arielapi.o
Expand Down
3 changes: 3 additions & 0 deletions src/sst/elements/ariel/configure.m4
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ AC_DEFUN([SST_ariel_CONFIG], [
AC_SUBST([ARIEL_MPI_CFLAGS])
AC_SUBST([ARIEL_MPI_LIBS])
AC_CONFIG_LINKS([src/sst/elements/ariel/api/arielapi.c:src/sst/elements/ariel/api/arielapi.c])
AC_CONFIG_LINKS([src/sst/elements/ariel/api/arielapi.h:src/sst/elements/ariel/api/arielapi.h])
AC_CONFIG_FILES([src/sst/elements/ariel/api/Makefile])
AC_CONFIG_FILES([src/sst/elements/ariel/mpi/Makefile])
Expand Down

0 comments on commit 239e782

Please sign in to comment.