metomi / fab

Flexible build system for scientific software
https://metomi.github.io/fab/
Other
19 stars 11 forks source link

Support full paths in FC #276

Closed ScottWales closed 5 months ago

ScottWales commented 6 months ago

Allow FC to be a full compiler path

Use LD for the linker in zero-config builds

Fixes #275

james-bruten-mo commented 5 months ago

Hi Scott, the build tests on the merge are failing with Argument 1 to "_generic_build_config" has incompatible type "Union[Path, Any, None]"; expected "Path". I assume you now only want to call _generic_build_config from cli_fab when folder is not None. Cheers

ScottWales commented 5 months ago

Fixed up the typing (the Optional[] on folder is needed to make the command line entry_point work)