Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove some old Fortran stuff from the build system #1717

Open
wants to merge 5 commits into
base: development
Choose a base branch
from
Open
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 4 additions & 23 deletions Make.Microphysics
Original file line number Diff line number Diff line change
Expand Up @@ -43,22 +43,14 @@ include $(AMREX_HOME)/Tools/GNUMake/Make.defs

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

all: build_status $(executable) starkiller_library
all: build_status $(executable)
@echo SUCCESS

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

starkiller_library: $(executable)
ifeq ($(USE_COMPILE_WITH_F2PY), TRUE)
@echo Wrapping sources with f90wrap ...
sh dowrap.sh
@echo Linking objects with f2py ...
sh dof2py.sh
endif

# Use a coarse grained OMP approach
DEFINES += -DCRSEGRNDOMP

Expand Down Expand Up @@ -213,20 +205,9 @@ $(objEXETempDir)/AMReX_buildInfo.o: .FORCE
include $(AMREX_HOME)/Tools/GNUMake/Make.rules

clean::
$(SILENT) $(RM) extern.F90
$(SILENT) $(RM) network_properties.F90 network_properties.H
$(SILENT) $(RM) $(MICROPHYSICS_AUTO_SOURCE_DIR)/*.H $(MICROPHYSICS_AUTO_SOURCE_DIR)/*.[fF]90
$(SILENT) $(RM) extern_parameters.cpp extern_parameters_F.H extern_parameters.H

# Older versions of CASTRO generated a "network.f90" file when using
# the general_null network, which conflicts with our generalized
# network.f90 file. So we should delete the local copy if we are
# trying to rebuild from an old directory.
# The same is true for "extern.f90".

clean::
$(RM) network.f90
$(RM) extern.f90
$(SILENT) $(RM) network_properties.H
$(SILENT) $(RM) $(MICROPHYSICS_AUTO_SOURCE_DIR)/*.H
$(SILENT) $(RM) extern_parameters.cpp extern_parameters.H


# for debugging. To see the value of a Makefile variable,
Expand Down
Loading