Skip to content

Commit

Permalink
colors: port to new build system
Browse files Browse the repository at this point in the history
  • Loading branch information
warrickball authored and VincentVanlaer committed Nov 11, 2024
1 parent 50046fb commit 1a71506
Show file tree
Hide file tree
Showing 23 changed files with 28 additions and 285 deletions.
27 changes: 27 additions & 0 deletions colors/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
include ../make/defaults-module.mk

# Build

MODULE_NAME := colors
SRCS := public/colors_def.f90 \
public/colors_lib.f90 \
private/mod_colors.f90
SRCS_CHECK := test/src/test_colors.f90
INTERNAL_DEPENDS_ON := const utils math
EXTERNAL_DEPENDS_ON :=
BINTYPE := static-lib

# Testing

CHECK_RESULTS_GOLDEN := test/test_output

# Install

MODULES := colors_def.mod colors_lib.mod
INSTALL_INCLUDES :=
INSTALL_COMMANDS += install-colors-data

include $(MAKE_DIR)/Makefile

install-colors-data:
mkdir -p ../data/colors_data && cp data/lcb98cor.dat data/blackbody_johnson.dat ../data/colors_data
3 changes: 0 additions & 3 deletions colors/build_and_test

This file was deleted.

3 changes: 0 additions & 3 deletions colors/build_and_test_parallel

This file was deleted.

25 changes: 0 additions & 25 deletions colors/build_data_and_export

This file was deleted.

2 changes: 0 additions & 2 deletions colors/clean

This file was deleted.

2 changes: 0 additions & 2 deletions colors/export

This file was deleted.

1 change: 0 additions & 1 deletion colors/i1

This file was deleted.

1 change: 0 additions & 1 deletion colors/i1p

This file was deleted.

8 changes: 0 additions & 8 deletions colors/make/makefile

This file was deleted.

109 changes: 0 additions & 109 deletions colors/make/makefile_base

This file was deleted.

1 change: 0 additions & 1 deletion colors/mk

This file was deleted.

1 change: 0 additions & 1 deletion colors/test/ck

This file was deleted.

2 changes: 0 additions & 2 deletions colors/test/clean

This file was deleted.

4 changes: 0 additions & 4 deletions colors/test/cleanup

This file was deleted.

2 changes: 0 additions & 2 deletions colors/test/export

This file was deleted.

8 changes: 0 additions & 8 deletions colors/test/make/makefile

This file was deleted.

87 changes: 0 additions & 87 deletions colors/test/make/makefile_base

This file was deleted.

14 changes: 0 additions & 14 deletions colors/test/mk

This file was deleted.

1 change: 0 additions & 1 deletion colors/test/mkx

This file was deleted.

3 changes: 0 additions & 3 deletions colors/test/rn

This file was deleted.

6 changes: 0 additions & 6 deletions install
Original file line number Diff line number Diff line change
Expand Up @@ -335,12 +335,6 @@ function do_input_data {
cd ..
}

if [ ! -r data/colors_data ]
then
do_input_data colors
fi
do_one_parallel colors

if [ ! -r data/kap_data ]
then
do_input_data kap
Expand Down
2 changes: 1 addition & 1 deletion make/subdirs.mk
Original file line number Diff line number Diff line change
@@ -1 +1 @@
SUBDIRS := const utils math mtx auto_diff num interp_1d interp_2d chem eos forum
SUBDIRS := const utils math mtx auto_diff num interp_1d interp_2d chem eos forum colors
1 change: 0 additions & 1 deletion touch
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ do_one adipls
do_one astero
do_one atm
do_one binary
do_one colors
do_one gyre
do_one ionization
do_one kap
Expand Down

0 comments on commit 1a71506

Please sign in to comment.