amuse icon indicating copy to clipboard operation
amuse copied to clipboard

Restore VADER problem-specific code compilation

Open MJCWilhelm opened this issue 9 months ago • 1 comments

Is your feature request related to a problem? Please describe. The VADER code allows user-defined code to be included for specific problems. The old build system would compile all of these problem-specific workers separately, but this behavior has been removed with the new build system, leaving just a 'vanilla' worker without problem-specific routines.

Describe the solution you'd like A restoration of the functionality of VADER's makefile to that as of commit 566643619078974da3b6299687299d70fc04b80d (the latest before the new build system), where all userFunc_{problem}.c files in the prob directory are detected, and a separate vader_{problem} worker is compiled for each.

MJCWilhelm avatar Jun 04 '25 10:06 MJCWilhelm

Ouch, sorry! It was definitely not the intent to drop any functionality in the new build system. I'll go and fix it!

I do think it would be better to have a single worker that can be configured at run time, as that goes better with packaging binaries, but I guess the code isn't set up for that. It is what it is...

LourensVeen avatar Jun 10 '25 08:06 LourensVeen