Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
F
FreeBSD ports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
4
Snippets
Groups
Projects
Show more breadcrumbs
FreeBSD
FreeBSD ports
Commits
47fb20c3
Commit
47fb20c3
authored
2 years ago
by
Yuri Victorovich
Browse files
Options
Downloads
Patches
Plain Diff
math/moab: Fix MPI option
parent
8b4b845a
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
math/moab/Makefile
+7
-3
7 additions, 3 deletions
math/moab/Makefile
math/moab/files/patch-CMakeLists.txt
+1
-2
1 addition, 2 deletions
math/moab/files/patch-CMakeLists.txt
math/moab/pkg-plist
+3
-2
3 additions, 2 deletions
math/moab/pkg-plist
with
11 additions
and
7 deletions
math/moab/Makefile
+
7
−
3
View file @
47fb20c3
PORTNAME
=
moab
DISTVERSION
=
5.3.1
PORTREVISION
=
1
CATEGORIES
=
math
MASTER_SITES
=
https://bitbucket.org/
${
BB_ACCOUNT
}
/
${
BB_PROJECT
}
/get/
${
BB_COMMIT
}
.tar.gz?dummy
=
/
...
...
@@ -13,7 +14,7 @@ LIB_DEPENDS= libhdf5.so:science/hdf5 \
libnetcdf.so:science/netcdf
\
libopenblas.so:math/openblas
USES
=
cmake
compiler:c++11-lang
eigen:3 fortran
USES
=
cmake eigen:3 fortran
USE_LDCONFIG
=
yes
CMAKE_ARGS
=
-DBLAS_LIBRARIES
:STRING
=
${
LOCALBASE
}
/lib/libopenblas.so
\
...
...
@@ -27,12 +28,15 @@ BB_COMMIT= 65880ffe833d
WRKSRC
=
${
WRKDIR
}
/
${
BB_ACCOUNT
}
-
${
BB_PROJECT
}
-
${
BB_COMMIT
}
OPTIONS_DEFINE
=
MPI
OPTIONS_DEFAULT
=
#
MPI
OPTIONS_DEFAULT
=
MPI
OPTIONS_SUB
=
yes
MPI_CMAKE_BOOL
=
ENABLE_MPI
MPI_LIB_DEPENDS
=
libmpi.so:net/openmpi
MPI_BROKEN
=
Build fails, see https://bitbucket.org/fathomteam/moab/issues/158/531-fails-to-build-with-openmpi-undefined
MPI_LDFLAGS
=
-L
${
LOCALBASE
}
/mpi/openmpi/lib
MPI_VARS
=
CXX
=
${
LOCALBASE
}
/mpi/openmpi/bin/mpic++
CC
=
${
LOCALBASE
}
/mpi/openmpi/bin/mpicc
OPENMPI_VARS
=
CONFLICTS_BUILD
=
mpich
# otherwise bin/hexmodops gets linked with libmpi.so:net/mpich
OPENMPI_VARS_OFF
=
USES
=
compiler:c++11-lang
post-install
:
# docs are just readmes
...
...
This diff is collapsed.
Click to expand it.
math/moab/files/patch-CMakeLists.txt
+
1
−
2
View file @
47fb20c3
...
...
@@ -11,14 +11,13 @@
if ( MOAB_HAVE_FBIGEOM )
CONFIGURE_FILE(itaps/fbigeom/FBiGeom-Defs.inc.in "${PROJECT_BINARY_DIR}/lib/FBiGeom-Defs.inc" @ONLY)
install(
@@ -636,23 +636,2
4
@@ if ( MOAB_HAVE_IMESH )
@@ -636,23 +636,2
3
@@ if ( MOAB_HAVE_IMESH )
endif ( MOAB_HAVE_IMESH )
INSTALL(
FILES "${PROJECT_BINARY_DIR}/lib/moab.make"
- DESTINATION ${CMAKE_INSTALL_LIBDIR}
+ DESTINATION lib
)
+message(STATUS "YURI DESTDIR=${FREEBSD_STAGEDIR}")
INSTALL(
CODE
- "file(APPEND ${CMAKE_INSTALL_FULL_LIBDIR}/moab.make MOAB_LIBDIR=${CMAKE_INSTALL_FULL_LIBDIR}\\n )"
...
...
This diff is collapsed.
Click to expand it.
math/moab/pkg-plist
+
3
−
2
View file @
47fb20c3
...
...
@@ -13,8 +13,6 @@ bin/mbsurfplot
bin/mbtagprop
bin/mbumr
bin/spheredecomp
%%MPI%%include/Coupler.hpp
%%MPI%%include/ElemUtil.hpp
include/MBCN.h
include/MBCN_protos.h
include/MBEntityType.h
...
...
@@ -30,6 +28,8 @@ include/iMesh.h
include/iMesh_extensions.h
include/iMesh_f.h
include/iMesh_protos.h
%%MPI%%include/mbcoupler/Coupler.hpp
%%MPI%%include/mbcoupler/ElemUtil.hpp
include/moab/AdaptiveKDTree.hpp
include/moab/BSPTree.hpp
include/moab/BSPTreePoly.hpp
...
...
@@ -80,6 +80,7 @@ include/moab/NestedRefine.hpp
include/moab/NestedRefineTemplates.hpp
include/moab/OrientedBox.hpp
include/moab/OrientedBoxTreeTool.hpp
%%MPI%%include/moab/ParCommGraph.hpp
%%MPI%%include/moab/ParallelComm.hpp
%%MPI%%include/moab/ParallelData.hpp
%%MPI%%include/moab/ParallelMergeMesh.hpp
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment