Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
2223a49
build: add new build system
VincentVanlaer Jul 29, 2024
d8941dc
const: port to new build system
VincentVanlaer Jul 29, 2024
3431482
utils: port to new build system
VincentVanlaer Jul 29, 2024
b7d8fb8
math: port to new build system
VincentVanlaer Jul 30, 2024
c018a86
mtx: port to new build system
VincentVanlaer Jul 30, 2024
9fa0aa9
auto_diff: port to new build system
VincentVanlaer Jul 30, 2024
dc69334
num: port to new build system
VincentVanlaer Jul 30, 2024
cf7e6f8
interp_1d: port to new build system
VincentVanlaer Jul 31, 2024
b546b72
interp_2d: port to new build system
VincentVanlaer Jul 31, 2024
5c3e93b
chem: port to new build system
VincentVanlaer Aug 1, 2024
a600898
chem: port preprocessor to new build system
VincentVanlaer Aug 1, 2024
08fc877
eos: port to new build system
VincentVanlaer Aug 1, 2024
c7a5b45
forum: port to new build system
VincentVanlaer Aug 2, 2024
d55e253
colors: port to new build system
warrickball Nov 10, 2024
d7e2184
gyre: port to new build system
VincentVanlaer Oct 28, 2025
d695f3d
kap: port to new build system
VincentVanlaer Nov 9, 2024
ade49aa
kap: port plotter to new build system
VincentVanlaer Nov 9, 2024
c2bd8d9
kap: move preprocessing oplib script out of archive
VincentVanlaer Nov 9, 2024
8d477f5
kap: port preprocessor to new build system
VincentVanlaer Nov 10, 2024
5ab5da7
kap: cleanup unused files in preprocessor
VincentVanlaer Nov 10, 2024
4748892
rates: port to new build system
warrickball Dec 28, 2024
d50e9ac
neu: port to new build system
warrickball Dec 28, 2024
c4f37a9
net: port to new build system
warrickball Dec 28, 2024
39249fb
ionization: port to new build system
warrickball Dec 30, 2024
ef948b1
atm: port to new build system
warrickball Dec 30, 2024
73d233d
turb: port to new build system
warrickball Jan 2, 2025
277ac7b
adipls: port to new build system
VincentVanlaer Jan 3, 2025
a179e7f
Remove sample (may revive later)
VincentVanlaer Jan 3, 2025
3ebc1f4
star_data: port to new build system
VincentVanlaer Jan 3, 2025
4e589ac
star: port to new build system
VincentVanlaer Jan 3, 2025
97000af
build: port package template to new build system
VincentVanlaer Jan 3, 2025
e28ca55
astero: port to new build system
VincentVanlaer Jan 3, 2025
c27d6e2
binary: port to new build system
VincentVanlaer Jan 4, 2025
e5bce9d
atm: port preprocessor to new build system
VincentVanlaer Jan 4, 2025
73c5664
eos: port builders to new build system
VincentVanlaer Jan 4, 2025
72b236f
eos: port plotter to new build system
VincentVanlaer Jan 4, 2025
d951264
neu: port plotter to new build system
VincentVanlaer Jan 4, 2025
50884ae
work: port to new build system
VincentVanlaer Jan 17, 2025
0f39417
tests: port star test suite to new build system
VincentVanlaer Jan 22, 2025
16954ad
binary: port test suite to new build system
VincentVanlaer Jan 22, 2025
0419ece
astero: port test suite to new build system
VincentVanlaer Jan 22, 2025
5a360fe
data: convert zams model generation to new build system
VincentVanlaer Jan 22, 2025
044801c
star: port dev cases to new build system
VincentVanlaer Jan 22, 2025
8ad735c
stella: port res helper to new build system
VincentVanlaer Jan 23, 2025
82a5ed9
build: clean up remaining traces of old build system
VincentVanlaer Jan 23, 2025
3bcd48d
build: do not install modules on a normal build
VincentVanlaer Jan 23, 2025
fd32178
build: clean up install script
VincentVanlaer Jan 23, 2025
6ca885b
shmesa: small changes for new build system
VincentVanlaer Jan 23, 2025
d453df7
docs: update for new build system
VincentVanlaer Jan 23, 2025
62a5137
ionization: port preprocessor to new build
VincentVanlaer Apr 16, 2025
3426620
rsp: fix uninitialized variable read
VincentVanlaer May 13, 2025
bb73467
net: stop initialization early when there are no reactions
VincentVanlaer May 15, 2025
4ba97d7
utils: remove left over ck script
VincentVanlaer May 16, 2025
a6f5920
docs: fix sphinx-lint errors
VincentVanlaer May 16, 2025
33d17b8
add changelog entry for new build system
VincentVanlaer Sep 15, 2025
fcc8b8b
add VincentVanlaer as codeowner for make/
VincentVanlaer Nov 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
29 changes: 4 additions & 25 deletions .github/actions/install-mesa/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ inputs:
sdk:
description: 'The version of the MESA SDK to install'
required: false
default: '23.7.3'
default: '25.12.1'

runs:

Expand Down Expand Up @@ -66,28 +66,10 @@ runs:
mesasdk-x86_64-linux-${{inputs.sdk}}.tar.gz
key: ${{ runner.os }}-${{inputs.sdk}}

- name: Get SDK ${{ runner.os }} '21.4.1'
if: ${{ (steps.cache.outputs.cache-hit != 'true') && ( inputs.sdk == '21.4.1') }}
- name: Get SDK ${{ runner.os }} '25.12.1'
if: ${{ (steps.cache.outputs.cache-hit != 'true') && ( inputs.sdk == '25.12.1') }}
run: |
wget -q https://zenodo.org/record/5802444/files/mesasdk-x86_64-linux-21.4.1.tar.gz
shell: bash

- name: Get SDK ${{ runner.os }} '22.6.1'
if: ${{ (steps.cache.outputs.cache-hit != 'true') && ( inputs.sdk == '22.6.1') }}
run: |
wget -q https://zenodo.org/record/7457681/files/mesasdk-x86_64-linux-22.6.1.tar.gz
shell: bash

- name: Get SDK ${{ runner.os }} '23.7.3'
if: ${{ (steps.cache.outputs.cache-hit != 'true') && ( inputs.sdk == '23.7.3') }}
run: |
wget -q https://zenodo.org/record/10624843/files/mesasdk-x86_64-linux-23.7.3.tar.gz
shell: bash

- name: Get SDK ${{ runner.os }} '24.7.1'
if: ${{ (steps.cache.outputs.cache-hit != 'true') && ( inputs.sdk == '24.7.1') }}
run: |
wget -q https://zenodo.org/records/13768913/files/mesasdk-x86_64-linux-24.7.1.tar.gz
wget --user-agent="" -q http://user.astro.wisc.edu/~townsend/resource/download/mesasdk/mesasdk-x86_64-linux-25.12.1.tar.gz
shell: bash

- name: Unpack SDK ${{ runner.os }} ${{inputs.sdk}}
Expand Down Expand Up @@ -115,7 +97,4 @@ runs:
sed -i 's/use_cache_for_eos = .true./use_cache_for_eos = .false./g' $MESA_DIR/eos/public/eos_def.f90
sed -i 's/use_cache = .true./use_cache = .false./g' $MESA_DIR/star/private/star_private_def.f90
./install
if [ ! -f lib/libbinary.a ]; then
exit 1
fi
shell: bash
2 changes: 1 addition & 1 deletion .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
sdk: ["22.6.1", "23.7.3", "24.7.1"] # pick 2 or 3 most recent.
sdk: ["25.12.1"] # pick 2 or 3 most recent.
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand Down
1 change: 1 addition & 0 deletions CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ ionization/ @fxt44
kap/ @fxt44 @Debraheem
linters/
turb/ @Debraheem
make/ @VincentVanlaer
math/ @rhdtownsend
mtx/ @mjoyceGR
net/ @fxt44 @Debraheem
Expand Down
22 changes: 22 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
.DELETE_ON_ERROR:
.DEFAULT_GOAL := all
.SHELLFLAGS := -eu -c

BUILD_SUBDIR := @$(MAKE) -C
CHECK_SUBDIR := @$(MAKE) check -C
MAKE_DIR := make

BUILD_DIR ?= build

include $(MAKE_DIR)/helpers.mk
include $(MAKE_DIR)/subdirs.mk
include $(MAKE_DIR)/setup-builddir.mk
include $(MAKE_DIR)/version.mk
include $(MAKE_DIR)/subdir-deps.mk

clean:
@rm -rf $(BUILD_DIR_)

all: $(SUBDIRS) $(addsuffix -extract-data,$(SUBDIRS)) $(addsuffix -check,$(SUBDIRS))

.PHONY: all $(SUBDIRS) $(addsuffix -extract-data,$(SUBDIRS)) $(addsuffix -check,$(SUBDIRS)) $(addsuffix -install,$(SUBDIRS)) clean install
121 changes: 121 additions & 0 deletions adipls/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
include ../make/defaults-module.mk

FFLAGS += -fno-check=bounds

# Build

MODULE_NAME := adipls
SRCS := adipack.c/adipls/adipls.c.d.f \
adipack.c/adipls/adirhs.c.d.f \
adipack.c/adipls/anldet.d.f \
adipack.c/adipls/cmparr.d.f \
adipack.c/adipls/danorm.d.f \
adipack.c/adipls/decicd.d.f \
adipack.c/adipls/delta1.d.f \
adipack.c/adipls/delta2.d.f \
adipack.c/adipls/delta3.d.f \
adipack.c/adipls/dmpgsm.d.f \
adipack.c/adipls/dmpmde.d.f \
adipack.c/adipls/dmpsum.d.f \
adipack.c/adipls/dump_obs.c.d.f \
adipack.c/adipls/geninh.d.f \
adipack.c/adipls/gm1ker.n.d.f \
adipack.c/adipls/gravpo.n.d.f \
adipack.c/adipls/kiner.n.d.f \
adipack.c/adipls/mchcff.d.f \
adipack.c/adipls/mchsol.n.d.f \
adipack.c/adipls/nrkint.c.d.f \
adipack.c/adipls/nrkm.d.f \
adipack.c/adipls/nrtssl.d.f \
adipack.c/adipls/order.d.f \
adipack.c/adipls/rdfrqr.d.f \
adipack.c/adipls/readml.n.d.f \
adipack.c/adipls/readsm.d.f \
adipack.c/adipls/res_adimod.c.d.f \
adipack.c/adipls/res_adipar.c.d.f \
adipack.c/adipls/rotker.c.d.f \
adipack.c/adipls/rsnfit.n.d.f \
adipack.c/adipls/sclasl.c.d.f \
adipack.c/adipls/setbcs.n.d.f \
adipack.c/adipls/setobs_st.c.d.f \
adipack.c/adipls/set_rotation.c.d.f \
adipack.c/adipls/setssm.n.d.f \
adipack.c/adipls/setsum.d.f \
adipack.c/adipls/setups_adi.c.d.f \
adipack.c/adipls/shtint.c.d.f \
adipack.c/adipls/sigint.n.d.f \
adipack.c/adipls/sigitc.c.d.f \
adipack.c/adipls/sigitr.n.d.f \
adipack.c/adipls/signew.n.d.f \
adipack.c/adipls/sigout.c.d.f \
adipack.c/adipls/sigscn.c.d.f \
adipack.c/adipls/sigsol.c.d.f \
adipack.c/adipls/sph.d.f \
adipack.c/adipls/stevft.n.d.f \
adipack.c/adipls/sumout.d.f \
adipack.c/adipls/takata.d.f \
adipack.c/adipls/trnmod.n.d.f \
adipack.c/adipls/uhx.d.f \
adipack.c/adipls/varfrq.n.d.f \
adipack.c/adipls/xlmult.d.f \
adipack.c/gensr/aramax.d.f \
adipack.c/gensr/blstio.f \
adipack.c/gensr/cpycom.f \
adipack.c/gensr/craysub.d.f \
adipack.c/gensr/derive.d.f \
adipack.c/gensr/derivk.new.d.f \
adipack.c/gensr/eiginh.d.f \
adipack.c/gensr/getcas.f \
adipack.c/gensr/intgpt.d.f \
adipack.c/gensr/iprsgn.d.f \
adipack.c/gensr/izero.f \
adipack.c/gensr/length.f \
adipack.c/gensr/leq.d.f \
adipack.c/gensr/lininh4.d.f \
adipack.c/gensr/lininh.new.d.f \
adipack.c/gensr/lir.d.f \
adipack.c/gensr/lirt.d.f \
adipack.c/gensr/lsqpol.d.f \
adipack.c/gensr/lstsqr.f \
adipack.c/gensr/notwin.d.f \
adipack.c/gensr/notwni.f \
adipack.c/gensr/nrk.d.f \
adipack.c/gensr/ofiles.c.f \
adipack.c/gensr/ofiles.f \
adipack.c/gensr/rdilst.f \
adipack.c/gensr/rnmean.d.f \
adipack.c/gensr/skpcom.f \
adipack.c/gensr/sort.d.f \
adipack.c/gensr/spline.d.f \
adipack.c/gensr/squint.d.f \
adipack.c/gensr/store.d.f \
adipack.c/gensr/strcompr.f \
adipack.c/gensr/vinta.d.f \
adipack.c/gensr/vintk.new.d.f \
adipack.c/gensr/zero.d.f \
adipack.c/adiajobs/sr/inrnge.f \
adipack.c/adiajobs/sr/intmdl.d.f \
adipack.c/adiajobs/sr/rdamdl.n.d.f \
adipack.c/adiajobs/sr/rdfreq.d.f \
adipack.c/adiajobs/sr/rdfrqe.d.f \
adipack.c/adiajobs/sr/rdfrqm.d.f \
adipack.c/adiajobs/sr/rseta4.c.d.f \
adipack.c/adiajobs/sr/setssm.d.f \
adipack.c/adiajobs/sr/srdist.c.d.f \
adipack.c/adiajobs/sr/wrfreq.d.f \
src/callbacks.f90

SRCS_CHECK :=
INTERNAL_DEPENDS_ON := const
EXTERNAL_DEPENDS_ON :=
BINTYPE = static-lib
INCLUDE_DIRS := -Iadipack.c/adipls
MODULES := adipls_callbacks.mod
# adipls has too much UB, plaster over it by disabling optimizations. If you
# ever remove this line, make sure that all arrays in common blocks have proper
# bounds everywhere.
PROFILE := debug

CHECK_RESULTS_GOLDEN :=

include $(MAKE_DIR)/Makefile
187 changes: 0 additions & 187 deletions adipls/adipack.c/adiajobs/makefile

This file was deleted.

Loading