Skip to content

Commit 3e1d2d7

Browse files
zingaleyut23
andauthored
remove some old Fortran stuff from the build system (#1717)
Co-authored-by: Eric T. Johnson <[email protected]>
1 parent b1a5bf7 commit 3e1d2d7

File tree

1 file changed

+4
-27
lines changed

1 file changed

+4
-27
lines changed

Make.Microphysics

+4-27
Original file line numberDiff line numberDiff line change
@@ -43,22 +43,14 @@ include $(AMREX_HOME)/Tools/GNUMake/Make.defs
4343

4444
MICROPHYSICS_AUTO_SOURCE_DIR := $(TmpBuildDir)/microphysics_sources/$(optionsSuffix).EXE
4545

46-
all: build_status $(executable) starkiller_library
46+
all: build_status $(executable)
4747
@echo SUCCESS
4848

4949
build_status:
5050
$(AMREX_HOME)/Tools/C_scripts/describe_sources.py \
5151
--git_names "Microphysics AMReX" \
5252
--git_dirs "$(TOP) $(AMREX_HOME)"
5353

54-
starkiller_library: $(executable)
55-
ifeq ($(USE_COMPILE_WITH_F2PY), TRUE)
56-
@echo Wrapping sources with f90wrap ...
57-
sh dowrap.sh
58-
@echo Linking objects with f2py ...
59-
sh dof2py.sh
60-
endif
61-
6254
# OpenACC support
6355
ifeq ($(USE_ACC), TRUE)
6456
DEFINES += -DACC
@@ -68,10 +60,6 @@ ifeq ($(USE_REACT), TRUE)
6860
DEFINES += -DREACTIONS
6961
endif
7062

71-
ifeq ($(USE_COMPILE_WITH_F2PY), TRUE)
72-
DEFINES += -DCOMPILE_WITH_F2PY
73-
endif
74-
7563

7664
#------------------------------------------------------------------------------
7765
# AMReX
@@ -198,20 +186,9 @@ $(objEXETempDir)/AMReX_buildInfo.o: .FORCE
198186
include $(AMREX_HOME)/Tools/GNUMake/Make.rules
199187

200188
clean::
201-
$(SILENT) $(RM) extern.F90
202-
$(SILENT) $(RM) network_properties.F90 network_properties.H
203-
$(SILENT) $(RM) $(MICROPHYSICS_AUTO_SOURCE_DIR)/*.H $(MICROPHYSICS_AUTO_SOURCE_DIR)/*.[fF]90
204-
$(SILENT) $(RM) extern_parameters.cpp extern_parameters_F.H extern_parameters.H
205-
206-
# Older versions of CASTRO generated a "network.f90" file when using
207-
# the general_null network, which conflicts with our generalized
208-
# network.f90 file. So we should delete the local copy if we are
209-
# trying to rebuild from an old directory.
210-
# The same is true for "extern.f90".
211-
212-
clean::
213-
$(RM) network.f90
214-
$(RM) extern.f90
189+
$(SILENT) $(RM) network_properties.H
190+
$(SILENT) $(RM) $(MICROPHYSICS_AUTO_SOURCE_DIR)/*.H
191+
$(SILENT) $(RM) extern_parameters.cpp extern_parameters.H
215192

216193

217194
# for debugging. To see the value of a Makefile variable,

0 commit comments

Comments
 (0)