Closed ttytm closed 8 months ago
The changes primarily revolve around the modification of build flags for different platforms across several files. The alterations include the addition and removal of certain flags, updating library paths, and specifying new directories. No changes to function signatures, global data structures, or interfaces have been made.
File | Summary |
---|---|
inout/h5/_cflags.c.v |
Removed -lhdf5 and -lhdf5_hl flags, added necessary HDF5 headers. |
mpi/_cflags.c.v |
Removed and re-added -lmpi flag, no functional changes. |
vlas/cflags_d_cblas.v |
Removed OpenBLAS and LAPACKE linking flags, added library paths and VMODROOT directory. |
vlas/cflags_notd_cblas.v |
Modified library linking flags for Linux, Windows, macOS, added VMODROOT directory, updated LAPACKE library for macOS. |
vlas/cflags_notd_cblas.v (2nd) |
Removed -llapacke for Linux and Darwin, added -lgfortran for Windows, updated include and library paths. |
vlas/cflags_d_cblas.v (2nd) |
Removed OpenBLAS and LAPACKE linking flags, replaced with library path flags, added VMODROOT directory and OpenBLAS linking flag. |
## Walkthrough This pull request primarily focuses on modifying build flags across different platforms for various libraries such as HDF5, MPI, OpenBLAS, LAPACKE, and VMODROOT. The changes include removal, addition, and modification of flags, as well as updates to include and library paths. ## Changes | File Path | Summary | | --- | --- | | `inout/h5/_cflags.c.v` | Removed `-lhdf5` and `-lhdf5_hl` flags, added necessary HDF5 headers. | | `mpi/_cflags.c.v` | Removed and re-added `-lmpi` flag, no functional changes. | | `vlas/cflags_d_cblas.v` | Removed OpenBLAS and LAPACKE linking flags, added library paths and VMODROOT directory. | | `vlas/cflags_notd_cblas.v` (multiple entries) | Various changes to library linking flags and paths across Linux, Windows, and macOS platforms. | > 🐇💻 > > In the land of code, where the semicolons lie, > > Changes are made, under the GitHub sky. > > Flags are shifted, paths are set, > > In the world of code, no sun ever set. > > Libraries linked, headers aligned, > > In the pull request, improvements we find. > > So here's to the coder, with their diligent gaze, > > Making the software, a better maze. 🎉🥕 ---🐇
"In the land of code, where the shadows lie,
Flags were changed, under the digital sky.
Paths were updated, libraries set free,
Celebrate the changes, as simple as can be! 🎉"
Marking as draft as I'd like to re-check the changes for the blas related files. Feedback is already welcome.
Marking as draft again to put some more time into it tomorrow or over the weeken. I think with further investigation I can start from here to make it a base to fix tests on mac.
Just to add some context, the problem with vsl.vlas on MAC is that I was not able to use lapackE in Mac 🥲
Could do some more checks, the flags should be used correctly as they are now.
Fixing the tests has it's own scope. I would fix LAPACKe usage and and tests on macOS in a followup PR and we could review and discuss there if that's okay.
The changes primarily revolve around the modification of build flags for different platforms across several files. The alterations include the addition and removal of certain flags, updating library paths, and specifying new directories. No changes to function signatures, global data structures, or interfaces have been made.
File | Summary |
---|---|
inout/h5/_cflags.c.v |
Removed -lhdf5 and -lhdf5_hl flags, added necessary HDF5 headers. |
mpi/_cflags.c.v |
Removed and re-added -lmpi flag, no functional changes. |
vlas/cflags_d_cblas.v |
Removed OpenBLAS and LAPACKE linking flags, added library paths and VMODROOT directory. |
vlas/cflags_notd_cblas.v |
Modified library linking flags for Linux, Windows, macOS, added VMODROOT directory, updated LAPACKE library for macOS. |
vlas/cflags_notd_cblas.v (2nd) |
Removed -llapacke for Linux and Darwin, added -lgfortran for Windows, updated include and library paths. |
vlas/cflags_d_cblas.v (2nd) |
Removed OpenBLAS and LAPACKE linking flags, replaced with library path flags, added VMODROOT directory and OpenBLAS linking flag. |
## Walkthrough This pull request primarily focuses on modifying build flags across different platforms for various libraries such as HDF5, MPI, OpenBLAS, LAPACKE, and VMODROOT. The changes include removal, addition, and modification of flags, as well as updates to include and library paths. ## Changes | File Path | Summary | | --- | --- | | `inout/h5/_cflags.c.v` | Removed `-lhdf5` and `-lhdf5_hl` flags, added necessary HDF5 headers. | | `mpi/_cflags.c.v` | Removed and re-added `-lmpi` flag, no functional changes. | | `vlas/cflags_d_cblas.v` | Removed OpenBLAS and LAPACKE linking flags, added library paths and VMODROOT directory. | | `vlas/cflags_notd_cblas.v` (multiple entries) | Various changes to library linking flags and paths across Linux, Windows, and macOS platforms. | > 🐇💻 > > In the land of code, where the semicolons lie, > > Changes are made, under the GitHub sky. > > Flags are shifted, paths are set, > > In the world of code, no sun ever set. > > Libraries linked, headers aligned, > > In the pull request, improvements we find. > > So here's to the coder, with their diligent gaze, > > Making the software, a better maze. 🎉🥕 ---🐇
"In the land of code, where the shadows lie,
Flags were changed, under the digital sky.
Paths were updated, libraries set free,
Celebrate the changes, as simple as can be! 🎉"
Summary by CodeRabbit
These changes aim to streamline the build process and enhance the software's performance across various platforms. Users may experience improved reliability and efficiency as a result.