Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify -l cflags #175

Merged
merged 3 commits into from
Oct 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions inout/h5/_cflags.c.v
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
module h5

#flag linux -I/usr/include/hdf5/serial/ -I/usr/local/include
#flag linux -L/usr/lib -L/usr/lib/x86_64-linux-gnu/hdf5/serial/ -L/usr/local/lib -pthread -lhdf5 -lhdf5_hl
#flag linux -L/usr/lib -L/usr/lib/x86_64-linux-gnu/hdf5/serial/ -L/usr/local/lib -pthread
#flag darwin -I/usr/local/include
#flag darwin -L/usr/local/lib
#flag freebsd -I/usr/local/include
#flag freebsd -L/usr/local/lib
#flag openbsd -I/usr/local/include
#flag openbsd -L/usr/local/lib

#flag -I@VMODROOT

#flag -lhdf5
#flag -lhdf5_hl
#flag -lhdf5 -lhdf5_hl

#include <hdf5.h>
#include <hdf5_hl.h>
9 changes: 5 additions & 4 deletions mpi/_cflags.c.v
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
module mpi

#flag linux -I/usr/lib/x86_64-linux-gnu/openmpi/include -I/usr/include/x86_64-linux-gnu/mpi -pthread
#flag linux -pthread -L/usr/lib/x86_64-linux-gnu/openmpi/lib -lmpi
#flag linux -pthread -L/usr/lib/x86_64-linux-gnu/openmpi/lib
#flag darwin -I/usr/local/Cellar/open-mpi/4.1.5/include -I/usr/local/include
#flag darwin -L/usr/local/opt/libevent/lib -L/usr/local/Cellar/open-mpi/4.1.5/lib -L/usr/local/lib -lmpi
#flag darwin -L/usr/local/opt/libevent/lib -L/usr/local/Cellar/open-mpi/4.1.5/lib -L/usr/local/lib
#flag freebsd -I/usr/local/Cellar/open-mpi/4.1.5/include -I/usr/local/include
#flag freebsd -L/usr/local/opt/libevent/lib -L/usr/local/Cellar/open-mpi/4.1.5/lib -L/usr/local/lib -lmpi
#flag freebsd -L/usr/local/opt/libevent/lib -L/usr/local/Cellar/open-mpi/4.1.5/lib -L/usr/local/lib
#flag openbsd -I/usr/local/Cellar/open-mpi/4.1.5/include -I/usr/local/include
#flag openbsd -L/usr/local/opt/libevent/lib -L/usr/local/Cellar/open-mpi/4.1.5/lib -L/usr/local/lib -lmpi
#flag openbsd -L/usr/local/opt/libevent/lib -L/usr/local/Cellar/open-mpi/4.1.5/lib -L/usr/local/lib
#flag -I@VMODROOT
#flag -lmpi

#include <cmpi.h>
7 changes: 4 additions & 3 deletions vlas/cflags_d_cblas.v
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
module vlas

#flag linux -O2 -I/usr/local/include -I/usr/lib
#flag linux -lopenblas -llapacke -L/usr/local/lib -L/usr/lib
#flag linux -L/usr/local/lib -L/usr/lib
#flag windows -O2
#flag windows -lopenblas -lgfortran
#flag windows -lgfortran
#flag darwin -I/usr/local/opt/openblas/include
#flag darwin -llapacke -lopenblas -L/usr/local/opt/openblas/lib
#flag darwin -L/usr/local/opt/openblas/lib
#flag -I@VMODROOT
#flag -lopenblas -llapacke
9 changes: 5 additions & 4 deletions vlas/cflags_notd_cblas.v
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
module vlas

#flag linux -O2 -I/usr/local/include -I/usr/lib
#flag linux -llapacke -L/usr/local/lib -L/usr/lib
#flag linux -L/usr/local/lib -L/usr/lib
#flag windows -O2
#flag windows -lopenblas -lgfortran
#flag darwin -I/usr/local/opt/openblas/include
#flag darwin -llapacke -lopenblas -L/usr/local/opt/openblas/lib
#flag windows -lgfortran
#flag darwin -I/usr/local/opt/lapack/include
#flag darwin -L/usr/local/opt/lapack/lib
#flag -I@VMODROOT
#flag -llapacke
Loading