-
Notifications
You must be signed in to change notification settings - Fork 8
Closed
Description
In preparation for building CABLE with spack, @harshula, @ccarouge and I have found areas where the current build system for CABLE offline can be improved.
- Move
serial_buildandparallel_buildfunctionality into Makefile #189 - Remove temporary source directory by improving the Makefile #190
- The current build system copies the source code into a temporary directory and executes
makein that directory. This can make debugging confusing as debug information will point to the source code in the temporary directory rather than the actual source code. The Makefile should be able to handle the compilation without the need for a temporary directory (see a draft implementation of this here). Removing this from the build system will also simplify thebuild3.shbuild script.
- The current build system copies the source code into a temporary directory and executes
- Improve build3.sh CLI by creating switches for serial Vs mpi and debug Vs non-debug #191
- For example, it is currently not possible to enable debug mode and mpi mode simultaneously.
- Solve dependency problems between targets/dependencies and ensure parallel builds succeed #192
- Many of the rules in the current Makefile are missing dependencies. This causes the compilation to fail when we compile in parallel via
make -j.
- Many of the rules in the current Makefile are missing dependencies. This causes the compilation to fail when we compile in parallel via
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels