Skip to content

Commit

Permalink
Merge pull request aurora-multiphysics#56 from lindsayad/leverage-act…
Browse files Browse the repository at this point in the history
…ual-mfem-installation

Do includes/libraries based more off a traditional installation
  • Loading branch information
alexanderianblair authored Dec 20, 2024
2 parents 96dcf01 + f9ae735 commit ae341b5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
12 changes: 5 additions & 7 deletions platypus.mk
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
MFEM_DIR :=$(APPLICATION_DIR)/../mfem/build
MFEM_DIR ?= $(APPLICATION_DIR)/../mfem/installed

include $(MFEM_DIR)/config/config.mk
MFEM_INCLUDES := -I$(MFEM_INC_DIR)/config -I$(MFEM_DIR)/ -I$(MFEM_DIR)/../miniapps/common $(MFEM_INCFLAGS)
MFEM_LIBS := -L$(MFEM_DIR) -lmfem -lrt -L$(MFEM_DIR)/miniapps/common -lmfem-common $(MFEM_LIB)
include $(MFEM_DIR)/share/mfem/config.mk

ADDITIONAL_INCLUDES += $(MFEM_INCLUDES)
ADDITIONAL_LIBS += -Wl, $(MFEM_LIBS) ${MFEM_EXT_LIBS}
ADDITIONAL_INCLUDES += $(MFEM_INCFLAGS)
ADDITIONAL_LIBS += $(MFEM_LIBS) -lmfem-common

$(info ADDITIONAL_INCLUDES = $(ADDITIONAL_INCLUDES));
$(info ADDITIONAL_LIBS = $(ADDITIONAL_LIBS));
$(info ADDITIONAL_LIBS = $(ADDITIONAL_LIBS));
2 changes: 1 addition & 1 deletion unit/src/MFEMEssentialBCTest.C
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "mfem-common.hpp"
#include "mfem/miniapps/common/mfem-common.hpp"
#include "MFEMObjectUnitTest.h"
#include "MFEMScalarDirichletBC.h"
#include "MFEMScalarFunctionDirichletBC.h"
Expand Down

0 comments on commit ae341b5

Please sign in to comment.