Re: git: 9f71ab72ccf3 - main - science/lammps: Broken where OpenMP isn't available
- In reply to: Yuri Victorovich : "git: 9f71ab72ccf3 - main - science/lammps: Broken where OpenMP isn't available"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 14 Feb 2025 10:55:58 UTC
Hello! May be also switch to USES=mpi? diff --git a/science/lammps/Makefile b/science/lammps/Makefile index 905342162978..6fec91c35c8c 100644 --- a/science/lammps/Makefile +++ b/science/lammps/Makefile @@ -57,8 +57,7 @@ EXCEPTIONS_DESC= Enable the use of C++ exceptions EXCEPTIONS_CMAKE_BOOL= LAMMPS_EXCEPTIONS MPI_CMAKE_BOOL= BUILD_MPI PKG_MPIIO -MPI_LIB_DEPENDS= libmpi_cxx.so:net/openmpi4 -MPI_USES= compiler:c11 +MPI_USES= compiler:c11 mpi:openmpi FFMPEG_CMAKE_BOOL= WITH_FFMPEG FFMPEG_BUILD_DEPENDS= ffmpeg:multimedia/ffmpeg On 14.02.2025 13:37, Yuri Victorovich wrote: > The branch main has been updated by yuri: > > URL: https://cgit.FreeBSD.org/ports/commit/?id=9f71ab72ccf3cec83fccaac54861e30b69a6b3c3 > > commit 9f71ab72ccf3cec83fccaac54861e30b69a6b3c3 > Author: Yuri Victorovich <yuri@FreeBSD.org> > AuthorDate: 2025-02-14 10:36:37 +0000 > Commit: Yuri Victorovich <yuri@FreeBSD.org> > CommitDate: 2025-02-14 10:36:37 +0000 > > science/lammps: Broken where OpenMP isn't available > > Reported by: fallout > --- > science/lammps/Makefile | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/science/lammps/Makefile b/science/lammps/Makefile > index 905342162978..1bdf467a781d 100644 > --- a/science/lammps/Makefile > +++ b/science/lammps/Makefile > @@ -21,6 +21,10 @@ LIB_DEPENDS= libevent.so:devel/libevent \ > libssh2.so:security/libssh2 \ > libzstd.so:archivers/zstd > > +.if !exists(/usr/include/omp.h) > +BROKEN= requires OpenMP support that is missing on this architecture > +.endif > + > USES= blaslapack:openblas cmake:noninja,testing compiler:c++17-lang eigen:3 fortran gnome localbase:ldflags python shebangfix > USE_GNOME= libxml2 > USE_LDCONFIG= yes -- Sincerely, Dima (fluffy@FreeBSD.org, https://t.me/FluffyBSD, @fluffy:matrix-dev.freebsd.org) (desktop, kde, x11, office, ports-secteam)@FreeBSD team