diff --git a/devel/kokkos/Makefile b/devel/kokkos/Makefile index 98e93860c285..557a0275a1e1 100644 --- a/devel/kokkos/Makefile +++ b/devel/kokkos/Makefile @@ -1,37 +1,39 @@ PORTNAME= kokkos -DISTVERSION= 4.1.00 +DISTVERSION= 4.3.00 CATEGORIES= devel MAINTAINER= yuri@FreeBSD.org COMMENT= C++ performance portability programming ecosystem WWW= https://github.com/kokkos/kokkos LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE NOT_FOR_ARCHS= armv6 armv7 i386 mips powerpc # Kokkos assumes a 64-bit build; i.e., 8-byte pointers, but found 4-byte pointers instead RUN_DEPENDS= bash:shells/bash USES= cmake:testing compiler:c++11-lang shebangfix USE_GITHUB= yes USE_LDCONFIG= yes SHEBANG_FILES= bin/nvcc_wrapper bin/kokkos_launch_compiler CMAKE_ON= BUILD_SHARED_LIBS -CMAKE_TESTING_ON= Kokkos_ENABLE_TESTS # 1 test fails, see https://github.com/kokkos/kokkos/issues/5400 +CMAKE_TESTING_ON= Kokkos_ENABLE_TESTS # 2 tests fail, see https://github.com/kokkos/kokkos/issues/5400 LDFLAGS+= -lexecinfo +TEST_ENV= OMP_PROC_BIND=false + OPTIONS_DEFINE= OPENMP SERIAL OPTIONS_DEFAULT= OPENMP SERIAL # both choices are assumed by science/nlcglib OPENMP_CMAKE_BOOL= Kokkos_ENABLE_OPENMP SERIAL_DESC= Enable serial backend SERIAL_CMAKE_BOOL= Kokkos_ENABLE_SERIAL post-install: # workaround for https://github.com/kokkos/kokkos/issues/4983 ${RM} ${STAGEDIR}${PREFIX}/include/CMakeLists.txt .include diff --git a/devel/kokkos/distinfo b/devel/kokkos/distinfo index d78b4a9ed87d..89afa0e62911 100644 --- a/devel/kokkos/distinfo +++ b/devel/kokkos/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1688925249 -SHA256 (kokkos-kokkos-4.1.00_GH0.tar.gz) = cf725ea34ba766fdaf29c884cfe2daacfdc6dc2d6af84042d1c78d0f16866275 -SIZE (kokkos-kokkos-4.1.00_GH0.tar.gz) = 2330580 +TIMESTAMP = 1713712607 +SHA256 (kokkos-kokkos-4.3.00_GH0.tar.gz) = 53cf30d3b44dade51d48efefdaee7a6cf109a091b702a443a2eda63992e5fe0d +SIZE (kokkos-kokkos-4.3.00_GH0.tar.gz) = 2430505 diff --git a/devel/kokkos/pkg-plist b/devel/kokkos/pkg-plist index 4c05958ebe77..3b54a929adae 100644 --- a/devel/kokkos/pkg-plist +++ b/devel/kokkos/pkg-plist @@ -1,529 +1,561 @@ bin/hpcbind bin/kokkos_launch_compiler bin/nvcc_wrapper include/Cuda/Kokkos_Cuda.hpp include/Cuda/Kokkos_CudaSpace.hpp include/Cuda/Kokkos_Cuda_BlockSize_Deduction.hpp include/Cuda/Kokkos_Cuda_Error.hpp include/Cuda/Kokkos_Cuda_GraphNodeKernel.hpp include/Cuda/Kokkos_Cuda_GraphNode_Impl.hpp include/Cuda/Kokkos_Cuda_Graph_Impl.hpp include/Cuda/Kokkos_Cuda_Half_Conversion.hpp include/Cuda/Kokkos_Cuda_Half_Impl_Type.hpp include/Cuda/Kokkos_Cuda_Instance.hpp include/Cuda/Kokkos_Cuda_KernelLaunch.hpp include/Cuda/Kokkos_Cuda_MDRangePolicy.hpp include/Cuda/Kokkos_Cuda_Parallel_MDRange.hpp include/Cuda/Kokkos_Cuda_Parallel_Range.hpp include/Cuda/Kokkos_Cuda_Parallel_Team.hpp include/Cuda/Kokkos_Cuda_ReduceScan.hpp include/Cuda/Kokkos_Cuda_Task.hpp include/Cuda/Kokkos_Cuda_Team.hpp include/Cuda/Kokkos_Cuda_UniqueToken.hpp include/Cuda/Kokkos_Cuda_Vectorization.hpp include/Cuda/Kokkos_Cuda_View.hpp include/Cuda/Kokkos_Cuda_WorkGraphPolicy.hpp include/Cuda/Kokkos_Cuda_ZeroMemset.hpp include/Cuda/Kokkos_Cuda_abort.hpp include/HIP/Kokkos_HIP.hpp include/HIP/Kokkos_HIP_Abort.hpp include/HIP/Kokkos_HIP_BlockSize_Deduction.hpp include/HIP/Kokkos_HIP_DeepCopy.hpp include/HIP/Kokkos_HIP_Error.hpp +include/HIP/Kokkos_HIP_GraphNodeKernel.hpp +include/HIP/Kokkos_HIP_GraphNode_Impl.hpp +include/HIP/Kokkos_HIP_Graph_Impl.hpp include/HIP/Kokkos_HIP_Half_Conversion.hpp include/HIP/Kokkos_HIP_Half_Impl_Type.hpp include/HIP/Kokkos_HIP_Instance.hpp include/HIP/Kokkos_HIP_KernelLaunch.hpp include/HIP/Kokkos_HIP_MDRangePolicy.hpp -include/HIP/Kokkos_HIP_Parallel_MDRange.hpp -include/HIP/Kokkos_HIP_Parallel_Range.hpp -include/HIP/Kokkos_HIP_Parallel_Team.hpp +include/HIP/Kokkos_HIP_ParallelFor_MDRange.hpp +include/HIP/Kokkos_HIP_ParallelFor_Range.hpp +include/HIP/Kokkos_HIP_ParallelFor_Team.hpp +include/HIP/Kokkos_HIP_ParallelReduce_MDRange.hpp +include/HIP/Kokkos_HIP_ParallelReduce_Range.hpp +include/HIP/Kokkos_HIP_ParallelReduce_Team.hpp +include/HIP/Kokkos_HIP_ParallelScan_Range.hpp include/HIP/Kokkos_HIP_ReduceScan.hpp include/HIP/Kokkos_HIP_SharedAllocationRecord.hpp include/HIP/Kokkos_HIP_Shuffle_Reduce.hpp include/HIP/Kokkos_HIP_Space.hpp include/HIP/Kokkos_HIP_Team.hpp +include/HIP/Kokkos_HIP_TeamPolicyInternal.hpp include/HIP/Kokkos_HIP_UniqueToken.hpp include/HIP/Kokkos_HIP_Vectorization.hpp include/HIP/Kokkos_HIP_WorkGraphPolicy.hpp include/HIP/Kokkos_HIP_ZeroMemset.hpp include/HPX/Kokkos_HPX.hpp include/HPX/Kokkos_HPX_MDRangePolicy.hpp include/HPX/Kokkos_HPX_Task.hpp include/HPX/Kokkos_HPX_WorkGraphPolicy.hpp include/KokkosCore_Config_DeclareBackend.hpp include/KokkosCore_Config_FwdBackend.hpp -include/KokkosCore_Config_PostInclude.hpp include/KokkosCore_Config_SetupBackend.hpp include/KokkosCore_config.h include/KokkosExp_InterOp.hpp include/KokkosExp_MDRangePolicy.hpp +include/Kokkos_Abort.hpp include/Kokkos_AcquireUniqueTokenImpl.hpp include/Kokkos_AnonymousSpace.hpp include/Kokkos_Array.hpp +include/Kokkos_Assert.hpp include/Kokkos_Atomic.hpp include/Kokkos_Atomics_Desul_Config.hpp include/Kokkos_Atomics_Desul_Volatile_Wrapper.hpp include/Kokkos_Atomics_Desul_Wrapper.hpp include/Kokkos_BitManipulation.hpp include/Kokkos_Bitset.hpp +include/Kokkos_Clamp.hpp include/Kokkos_Complex.hpp include/Kokkos_Concepts.hpp include/Kokkos_CopyViews.hpp include/Kokkos_Core.hpp include/Kokkos_Core_fwd.hpp include/Kokkos_Crs.hpp include/Kokkos_DetectionIdiom.hpp include/Kokkos_DualView.hpp include/Kokkos_DynRankView.hpp include/Kokkos_DynamicView.hpp include/Kokkos_ErrorReporter.hpp include/Kokkos_ExecPolicy.hpp include/Kokkos_Extents.hpp include/Kokkos_Functional.hpp include/Kokkos_Future.hpp include/Kokkos_Graph.hpp include/Kokkos_GraphNode.hpp include/Kokkos_Graph_fwd.hpp -include/Kokkos_HBWSpace.hpp include/Kokkos_Half.hpp include/Kokkos_HostSpace.hpp include/Kokkos_Layout.hpp -include/Kokkos_LogicalSpaces.hpp include/Kokkos_Macros.hpp -include/Kokkos_MasterLock.hpp include/Kokkos_MathematicalConstants.hpp include/Kokkos_MathematicalFunctions.hpp include/Kokkos_MathematicalSpecialFunctions.hpp include/Kokkos_MemoryPool.hpp include/Kokkos_MemoryTraits.hpp -include/Kokkos_MinMaxClamp.hpp +include/Kokkos_MinMax.hpp include/Kokkos_NestedSort.hpp include/Kokkos_NumericTraits.hpp include/Kokkos_OffsetView.hpp include/Kokkos_Pair.hpp include/Kokkos_Parallel.hpp include/Kokkos_Parallel_Reduce.hpp include/Kokkos_PointerOwnership.hpp +include/Kokkos_Printf.hpp include/Kokkos_Profiling_ProfileSection.hpp include/Kokkos_Profiling_ScopedRegion.hpp include/Kokkos_Random.hpp include/Kokkos_Rank.hpp include/Kokkos_ReductionIdentity.hpp include/Kokkos_SIMD.hpp include/Kokkos_SIMD_AVX2.hpp include/Kokkos_SIMD_AVX512.hpp include/Kokkos_SIMD_Common.hpp +include/Kokkos_SIMD_Common_Math.hpp include/Kokkos_SIMD_NEON.hpp include/Kokkos_SIMD_Scalar.hpp include/Kokkos_ScatterView.hpp include/Kokkos_ScratchSpace.hpp include/Kokkos_Sort.hpp include/Kokkos_StaticCrsGraph.hpp include/Kokkos_StdAlgorithms.hpp +include/Kokkos_Swap.hpp include/Kokkos_TaskScheduler.hpp include/Kokkos_TaskScheduler_fwd.hpp include/Kokkos_Timer.hpp include/Kokkos_Tuners.hpp include/Kokkos_UniqueToken.hpp include/Kokkos_UnorderedMap.hpp include/Kokkos_Vector.hpp include/Kokkos_Vectorization.hpp include/Kokkos_View.hpp include/Kokkos_WorkGraphPolicy.hpp include/Kokkos_hwloc.hpp include/OpenACC/Kokkos_OpenACC.hpp include/OpenACC/Kokkos_OpenACCSpace.hpp include/OpenACC/Kokkos_OpenACC_DeepCopy.hpp include/OpenACC/Kokkos_OpenACC_FunctorAdapter.hpp include/OpenACC/Kokkos_OpenACC_Instance.hpp include/OpenACC/Kokkos_OpenACC_MDRangePolicy.hpp include/OpenACC/Kokkos_OpenACC_Macros.hpp include/OpenACC/Kokkos_OpenACC_ParallelFor_MDRange.hpp include/OpenACC/Kokkos_OpenACC_ParallelFor_Range.hpp include/OpenACC/Kokkos_OpenACC_ParallelFor_Team.hpp include/OpenACC/Kokkos_OpenACC_ParallelReduce_MDRange.hpp include/OpenACC/Kokkos_OpenACC_ParallelReduce_Range.hpp include/OpenACC/Kokkos_OpenACC_ParallelReduce_Team.hpp include/OpenACC/Kokkos_OpenACC_ParallelScan_Range.hpp include/OpenACC/Kokkos_OpenACC_ScheduleType.hpp include/OpenACC/Kokkos_OpenACC_SharedAllocationRecord.hpp include/OpenACC/Kokkos_OpenACC_Team.hpp include/OpenACC/Kokkos_OpenACC_Traits.hpp include/OpenMP/Kokkos_OpenMP.hpp include/OpenMP/Kokkos_OpenMP_Instance.hpp include/OpenMP/Kokkos_OpenMP_MDRangePolicy.hpp -include/OpenMP/Kokkos_OpenMP_Parallel.hpp +include/OpenMP/Kokkos_OpenMP_Parallel_For.hpp +include/OpenMP/Kokkos_OpenMP_Parallel_Reduce.hpp +include/OpenMP/Kokkos_OpenMP_Parallel_Scan.hpp include/OpenMP/Kokkos_OpenMP_Task.hpp include/OpenMP/Kokkos_OpenMP_Team.hpp include/OpenMP/Kokkos_OpenMP_UniqueToken.hpp include/OpenMP/Kokkos_OpenMP_WorkGraphPolicy.hpp include/OpenMPTarget/Kokkos_OpenMPTarget.hpp include/OpenMPTarget/Kokkos_OpenMPTargetSpace.hpp include/OpenMPTarget/Kokkos_OpenMPTarget_Abort.hpp include/OpenMPTarget/Kokkos_OpenMPTarget_Error.hpp include/OpenMPTarget/Kokkos_OpenMPTarget_Instance.hpp include/OpenMPTarget/Kokkos_OpenMPTarget_MDRangePolicy.hpp +include/OpenMPTarget/Kokkos_OpenMPTarget_Macros.hpp include/OpenMPTarget/Kokkos_OpenMPTarget_Parallel.hpp include/OpenMPTarget/Kokkos_OpenMPTarget_ParallelFor_Range.hpp include/OpenMPTarget/Kokkos_OpenMPTarget_ParallelFor_Team.hpp include/OpenMPTarget/Kokkos_OpenMPTarget_ParallelReduce_Range.hpp include/OpenMPTarget/Kokkos_OpenMPTarget_ParallelReduce_Team.hpp include/OpenMPTarget/Kokkos_OpenMPTarget_ParallelScan_Range.hpp include/OpenMPTarget/Kokkos_OpenMPTarget_ParallelScan_Team.hpp include/OpenMPTarget/Kokkos_OpenMPTarget_Parallel_Common.hpp include/OpenMPTarget/Kokkos_OpenMPTarget_Parallel_MDRange.hpp include/OpenMPTarget/Kokkos_OpenMPTarget_Reducer.hpp include/OpenMPTarget/Kokkos_OpenMPTarget_Task.hpp include/OpenMPTarget/Kokkos_OpenMPTarget_UniqueToken.hpp include/SYCL/Kokkos_SYCL.hpp include/SYCL/Kokkos_SYCL_Abort.hpp include/SYCL/Kokkos_SYCL_DeepCopy.hpp include/SYCL/Kokkos_SYCL_Half_Conversion.hpp include/SYCL/Kokkos_SYCL_Half_Impl_Type.hpp include/SYCL/Kokkos_SYCL_Instance.hpp include/SYCL/Kokkos_SYCL_MDRangePolicy.hpp -include/SYCL/Kokkos_SYCL_Parallel_Range.hpp -include/SYCL/Kokkos_SYCL_Parallel_Reduce.hpp -include/SYCL/Kokkos_SYCL_Parallel_Scan.hpp -include/SYCL/Kokkos_SYCL_Parallel_Team.hpp +include/SYCL/Kokkos_SYCL_ParallelFor_MDRange.hpp +include/SYCL/Kokkos_SYCL_ParallelFor_Range.hpp +include/SYCL/Kokkos_SYCL_ParallelFor_Team.hpp +include/SYCL/Kokkos_SYCL_ParallelReduce_MDRange.hpp +include/SYCL/Kokkos_SYCL_ParallelReduce_Range.hpp +include/SYCL/Kokkos_SYCL_ParallelReduce_Team.hpp +include/SYCL/Kokkos_SYCL_ParallelScan_Range.hpp include/SYCL/Kokkos_SYCL_Space.hpp include/SYCL/Kokkos_SYCL_Team.hpp +include/SYCL/Kokkos_SYCL_TeamPolicy.hpp include/SYCL/Kokkos_SYCL_UniqueToken.hpp +include/SYCL/Kokkos_SYCL_WorkgroupReduction.hpp include/SYCL/Kokkos_SYCL_ZeroMemset.hpp include/Serial/Kokkos_Serial.hpp include/Serial/Kokkos_Serial_MDRangePolicy.hpp include/Serial/Kokkos_Serial_Parallel_MDRange.hpp include/Serial/Kokkos_Serial_Parallel_Range.hpp include/Serial/Kokkos_Serial_Parallel_Team.hpp include/Serial/Kokkos_Serial_Task.hpp include/Serial/Kokkos_Serial_UniqueToken.hpp include/Serial/Kokkos_Serial_WorkGraphPolicy.hpp include/Serial/Kokkos_Serial_ZeroMemset.hpp include/Threads/Kokkos_Threads.hpp -include/Threads/Kokkos_ThreadsExec.hpp -include/Threads/Kokkos_ThreadsTeam.hpp +include/Threads/Kokkos_Threads_Instance.hpp include/Threads/Kokkos_Threads_MDRangePolicy.hpp -include/Threads/Kokkos_Threads_Parallel_MDRange.hpp -include/Threads/Kokkos_Threads_Parallel_Range.hpp -include/Threads/Kokkos_Threads_Parallel_Team.hpp +include/Threads/Kokkos_Threads_ParallelFor_MDRange.hpp +include/Threads/Kokkos_Threads_ParallelFor_Range.hpp +include/Threads/Kokkos_Threads_ParallelFor_Team.hpp +include/Threads/Kokkos_Threads_ParallelReduce_MDRange.hpp +include/Threads/Kokkos_Threads_ParallelReduce_Range.hpp +include/Threads/Kokkos_Threads_ParallelReduce_Team.hpp +include/Threads/Kokkos_Threads_ParallelScan_Range.hpp +include/Threads/Kokkos_Threads_Spinwait.hpp +include/Threads/Kokkos_Threads_State.hpp +include/Threads/Kokkos_Threads_Team.hpp include/Threads/Kokkos_Threads_UniqueToken.hpp include/Threads/Kokkos_Threads_WorkGraphPolicy.hpp include/View/Hooks/Kokkos_ViewHooks.hpp include/View/MDSpan/Kokkos_MDSpan_Extents.hpp include/View/MDSpan/Kokkos_MDSpan_Header.hpp include/decl/Kokkos_Declare_CUDA.hpp -include/decl/Kokkos_Declare_HBWSpace.hpp include/decl/Kokkos_Declare_HIP.hpp include/decl/Kokkos_Declare_HPX.hpp include/decl/Kokkos_Declare_OPENACC.hpp include/decl/Kokkos_Declare_OPENMP.hpp include/decl/Kokkos_Declare_OPENMPTARGET.hpp include/decl/Kokkos_Declare_SERIAL.hpp include/decl/Kokkos_Declare_SYCL.hpp include/decl/Kokkos_Declare_THREADS.hpp include/desul/atomics.hpp include/desul/atomics/Adapt_CXX.hpp include/desul/atomics/Adapt_GCC.hpp include/desul/atomics/Adapt_SYCL.hpp include/desul/atomics/Atomic_Ref.hpp include/desul/atomics/Common.hpp include/desul/atomics/Compare_Exchange.hpp include/desul/atomics/Compare_Exchange_CUDA.hpp include/desul/atomics/Compare_Exchange_GCC.hpp include/desul/atomics/Compare_Exchange_HIP.hpp include/desul/atomics/Compare_Exchange_MSVC.hpp +include/desul/atomics/Compare_Exchange_OpenACC.hpp include/desul/atomics/Compare_Exchange_OpenMP.hpp include/desul/atomics/Compare_Exchange_SYCL.hpp include/desul/atomics/Compare_Exchange_ScopeCaller.hpp include/desul/atomics/Config.hpp include/desul/atomics/Fetch_Op.hpp include/desul/atomics/Fetch_Op_CUDA.hpp include/desul/atomics/Fetch_Op_GCC.hpp include/desul/atomics/Fetch_Op_Generic.hpp include/desul/atomics/Fetch_Op_HIP.hpp +include/desul/atomics/Fetch_Op_OpenACC.hpp include/desul/atomics/Fetch_Op_OpenMP.hpp include/desul/atomics/Fetch_Op_SYCL.hpp include/desul/atomics/Fetch_Op_ScopeCaller.hpp include/desul/atomics/Generic.hpp include/desul/atomics/Lock_Array.hpp include/desul/atomics/Lock_Array_CUDA.hpp include/desul/atomics/Lock_Array_HIP.hpp include/desul/atomics/Lock_Array_SYCL.hpp include/desul/atomics/Lock_Based_Fetch_Op.hpp include/desul/atomics/Lock_Based_Fetch_Op_CUDA.hpp include/desul/atomics/Lock_Based_Fetch_Op_HIP.hpp include/desul/atomics/Lock_Based_Fetch_Op_Host.hpp +include/desul/atomics/Lock_Based_Fetch_Op_OpenACC.hpp include/desul/atomics/Lock_Based_Fetch_Op_SYCL.hpp include/desul/atomics/Lock_Free_Fetch_Op.hpp include/desul/atomics/Macros.hpp include/desul/atomics/Operator_Function_Objects.hpp include/desul/atomics/Thread_Fence.hpp include/desul/atomics/Thread_Fence_CUDA.hpp include/desul/atomics/Thread_Fence_GCC.hpp include/desul/atomics/Thread_Fence_HIP.hpp include/desul/atomics/Thread_Fence_MSVC.hpp +include/desul/atomics/Thread_Fence_OpenACC.hpp include/desul/atomics/Thread_Fence_OpenMP.hpp include/desul/atomics/Thread_Fence_SYCL.hpp include/desul/atomics/Thread_Fence_ScopeCaller.hpp include/desul/atomics/cuda/CUDA_asm.hpp include/desul/atomics/cuda/CUDA_asm_exchange.hpp include/desul/atomics/cuda/cuda_cc7_asm.inc include/desul/atomics/cuda/cuda_cc7_asm_atomic_fetch_op.inc -include/desul/atomics/cuda/cuda_cc7_asm_atomic_fetch_op.inc_forceglobal -include/desul/atomics/cuda/cuda_cc7_asm_atomic_fetch_op.inc_generic include/desul/atomics/cuda/cuda_cc7_asm_atomic_fetch_op.inc_isglobal include/desul/atomics/cuda/cuda_cc7_asm_atomic_fetch_op.inc_predicate include/desul/atomics/cuda/cuda_cc7_asm_atomic_op.inc -include/desul/atomics/cuda/cuda_cc7_asm_atomic_op.inc_forceglobal -include/desul/atomics/cuda/cuda_cc7_asm_atomic_op.inc_generic include/desul/atomics/cuda/cuda_cc7_asm_atomic_op.inc_isglobal include/desul/atomics/cuda/cuda_cc7_asm_atomic_op.inc_predicate include/desul/atomics/cuda/cuda_cc7_asm_exchange.inc include/desul/atomics/cuda/cuda_cc7_asm_exchange_memorder.inc include/desul/atomics/cuda/cuda_cc7_asm_exchange_op.inc include/desul/atomics/cuda/cuda_cc7_asm_memorder.inc include/desul/atomics/openmp/OpenMP_40.hpp include/desul/atomics/openmp/OpenMP_40_op.inc include/fwd/Kokkos_Fwd_CUDA.hpp -include/fwd/Kokkos_Fwd_HBWSpace.hpp include/fwd/Kokkos_Fwd_HIP.hpp include/fwd/Kokkos_Fwd_HPX.hpp include/fwd/Kokkos_Fwd_OPENACC.hpp include/fwd/Kokkos_Fwd_OPENMP.hpp include/fwd/Kokkos_Fwd_OPENMPTARGET.hpp include/fwd/Kokkos_Fwd_SERIAL.hpp include/fwd/Kokkos_Fwd_SYCL.hpp include/fwd/Kokkos_Fwd_THREADS.hpp include/impl/KokkosExp_Host_IterateTile.hpp include/impl/KokkosExp_IterateTileGPU.hpp include/impl/KokkosExp_ViewMapping.hpp include/impl/Kokkos_AnalyzePolicy.hpp include/impl/Kokkos_Atomic_View.hpp include/impl/Kokkos_BitOps.hpp include/impl/Kokkos_Bitset_impl.hpp include/impl/Kokkos_CPUDiscovery.hpp include/impl/Kokkos_ChaseLev.hpp +include/impl/Kokkos_CheckedIntegerOps.hpp include/impl/Kokkos_ClockTic.hpp include/impl/Kokkos_Combined_Reducer.hpp include/impl/Kokkos_Command_Line_Parsing.hpp include/impl/Kokkos_ConcurrentBitset.hpp include/impl/Kokkos_Default_GraphNodeKernel.hpp include/impl/Kokkos_Default_GraphNode_Impl.hpp include/impl/Kokkos_Default_Graph_Impl.hpp include/impl/Kokkos_Default_Graph_fwd.hpp include/impl/Kokkos_DeviceManagement.hpp include/impl/Kokkos_EBO.hpp include/impl/Kokkos_Error.hpp include/impl/Kokkos_ExecSpaceManager.hpp include/impl/Kokkos_FixedBufferMemoryPool.hpp include/impl/Kokkos_Functional_impl.hpp include/impl/Kokkos_FunctorAnalysis.hpp include/impl/Kokkos_GraphImpl.hpp include/impl/Kokkos_GraphImpl_Utilities.hpp include/impl/Kokkos_GraphImpl_fwd.hpp include/impl/Kokkos_GraphNodeCustomization.hpp include/impl/Kokkos_GraphNodeImpl.hpp include/impl/Kokkos_Half_FloatingPointWrapper.hpp +include/impl/Kokkos_Half_MathematicalFunctions.hpp include/impl/Kokkos_Half_NumericTraits.hpp include/impl/Kokkos_HostBarrier.hpp include/impl/Kokkos_HostSharedPtr.hpp include/impl/Kokkos_HostSpace_ZeroMemset.hpp include/impl/Kokkos_HostSpace_deepcopy.hpp include/impl/Kokkos_HostThreadTeam.hpp include/impl/Kokkos_InitializationSettings.hpp include/impl/Kokkos_LIFO.hpp include/impl/Kokkos_LinkedListNode.hpp include/impl/Kokkos_MemoryPoolAllocator.hpp -include/impl/Kokkos_MemorySpace.hpp -include/impl/Kokkos_Memory_Fence.hpp include/impl/Kokkos_MultipleTaskQueue.hpp include/impl/Kokkos_NvidiaGpuArchitectures.hpp include/impl/Kokkos_OptionalRef.hpp include/impl/Kokkos_ParseCommandLineArgumentsAndEnvironmentVariables.hpp include/impl/Kokkos_Profiling.hpp include/impl/Kokkos_Profiling_C_Interface.h include/impl/Kokkos_Profiling_DeviceInfo.hpp include/impl/Kokkos_Profiling_Interface.hpp include/impl/Kokkos_QuadPrecisionMath.hpp include/impl/Kokkos_SharedAlloc.hpp include/impl/Kokkos_SharedAlloc_timpl.hpp include/impl/Kokkos_SimpleTaskScheduler.hpp include/impl/Kokkos_SingleTaskQueue.hpp -include/impl/Kokkos_Spinwait.hpp include/impl/Kokkos_Stacktrace.hpp include/impl/Kokkos_StaticCrsGraph_factory.hpp include/impl/Kokkos_StringManipulation.hpp include/impl/Kokkos_TaskBase.hpp include/impl/Kokkos_TaskNode.hpp include/impl/Kokkos_TaskPolicyData.hpp include/impl/Kokkos_TaskQueue.hpp include/impl/Kokkos_TaskQueueCommon.hpp include/impl/Kokkos_TaskQueueMemoryManager.hpp include/impl/Kokkos_TaskQueueMultiple.hpp include/impl/Kokkos_TaskQueueMultiple_impl.hpp include/impl/Kokkos_TaskQueue_impl.hpp include/impl/Kokkos_TaskResult.hpp include/impl/Kokkos_TaskTeamMember.hpp include/impl/Kokkos_TeamMDPolicy.hpp include/impl/Kokkos_Tools.hpp include/impl/Kokkos_Tools_Generic.hpp include/impl/Kokkos_Traits.hpp include/impl/Kokkos_UnorderedMap_impl.hpp include/impl/Kokkos_Utilities.hpp include/impl/Kokkos_VLAEmulation.hpp include/impl/Kokkos_ViewArray.hpp include/impl/Kokkos_ViewCtor.hpp +include/impl/Kokkos_ViewDataAnalysis.hpp include/impl/Kokkos_ViewLayoutTiled.hpp include/impl/Kokkos_ViewMapping.hpp include/impl/Kokkos_ViewTracker.hpp include/impl/Kokkos_ViewUniformType.hpp include/impl/Kokkos_Volatile_Load.hpp include/impl/Kokkos_ZeroMemset_fwd.hpp include/setup/Kokkos_Setup_Cuda.hpp include/setup/Kokkos_Setup_HIP.hpp include/setup/Kokkos_Setup_SYCL.hpp +include/sorting/Kokkos_BinOpsPublicAPI.hpp +include/sorting/Kokkos_BinSortPublicAPI.hpp +include/sorting/Kokkos_NestedSortPublicAPI.hpp +include/sorting/Kokkos_SortByKeyPublicAPI.hpp +include/sorting/Kokkos_SortPublicAPI.hpp +include/sorting/impl/Kokkos_CopyOpsForBinSortImpl.hpp +include/sorting/impl/Kokkos_NestedSortImpl.hpp +include/sorting/impl/Kokkos_SortByKeyImpl.hpp +include/sorting/impl/Kokkos_SortImpl.hpp include/std_algorithms/Kokkos_AdjacentDifference.hpp include/std_algorithms/Kokkos_AdjacentFind.hpp include/std_algorithms/Kokkos_AllOf.hpp include/std_algorithms/Kokkos_AnyOf.hpp include/std_algorithms/Kokkos_BeginEnd.hpp include/std_algorithms/Kokkos_Copy.hpp include/std_algorithms/Kokkos_CopyBackward.hpp include/std_algorithms/Kokkos_CopyIf.hpp include/std_algorithms/Kokkos_CopyN.hpp include/std_algorithms/Kokkos_Count.hpp include/std_algorithms/Kokkos_CountIf.hpp include/std_algorithms/Kokkos_Distance.hpp include/std_algorithms/Kokkos_Equal.hpp include/std_algorithms/Kokkos_ExclusiveScan.hpp include/std_algorithms/Kokkos_Fill.hpp include/std_algorithms/Kokkos_FillN.hpp include/std_algorithms/Kokkos_Find.hpp include/std_algorithms/Kokkos_FindEnd.hpp include/std_algorithms/Kokkos_FindFirstOf.hpp include/std_algorithms/Kokkos_FindIf.hpp include/std_algorithms/Kokkos_FindIfNot.hpp include/std_algorithms/Kokkos_ForEach.hpp include/std_algorithms/Kokkos_ForEachN.hpp include/std_algorithms/Kokkos_Generate.hpp include/std_algorithms/Kokkos_GenerateN.hpp include/std_algorithms/Kokkos_InclusiveScan.hpp include/std_algorithms/Kokkos_IsPartitioned.hpp include/std_algorithms/Kokkos_IsSorted.hpp include/std_algorithms/Kokkos_IsSortedUntil.hpp include/std_algorithms/Kokkos_IterSwap.hpp include/std_algorithms/Kokkos_LexicographicalCompare.hpp include/std_algorithms/Kokkos_MaxElement.hpp include/std_algorithms/Kokkos_MinElement.hpp include/std_algorithms/Kokkos_MinMaxElement.hpp include/std_algorithms/Kokkos_Mismatch.hpp include/std_algorithms/Kokkos_Move.hpp include/std_algorithms/Kokkos_MoveBackward.hpp include/std_algorithms/Kokkos_NoneOf.hpp include/std_algorithms/Kokkos_PartitionCopy.hpp include/std_algorithms/Kokkos_PartitionPoint.hpp include/std_algorithms/Kokkos_Reduce.hpp include/std_algorithms/Kokkos_Remove.hpp include/std_algorithms/Kokkos_RemoveCopy.hpp include/std_algorithms/Kokkos_RemoveCopyIf.hpp include/std_algorithms/Kokkos_RemoveIf.hpp include/std_algorithms/Kokkos_Replace.hpp include/std_algorithms/Kokkos_ReplaceCopy.hpp include/std_algorithms/Kokkos_ReplaceCopyIf.hpp include/std_algorithms/Kokkos_ReplaceIf.hpp include/std_algorithms/Kokkos_Reverse.hpp include/std_algorithms/Kokkos_ReverseCopy.hpp include/std_algorithms/Kokkos_Rotate.hpp include/std_algorithms/Kokkos_RotateCopy.hpp include/std_algorithms/Kokkos_Search.hpp include/std_algorithms/Kokkos_SearchN.hpp include/std_algorithms/Kokkos_ShiftLeft.hpp include/std_algorithms/Kokkos_ShiftRight.hpp -include/std_algorithms/Kokkos_Swap.hpp include/std_algorithms/Kokkos_SwapRanges.hpp include/std_algorithms/Kokkos_Transform.hpp include/std_algorithms/Kokkos_TransformExclusiveScan.hpp include/std_algorithms/Kokkos_TransformInclusiveScan.hpp include/std_algorithms/Kokkos_TransformReduce.hpp include/std_algorithms/Kokkos_Unique.hpp include/std_algorithms/Kokkos_UniqueCopy.hpp include/std_algorithms/impl/Kokkos_AdjacentDifference.hpp include/std_algorithms/impl/Kokkos_AdjacentFind.hpp include/std_algorithms/impl/Kokkos_AllOfAnyOfNoneOf.hpp include/std_algorithms/impl/Kokkos_Constraints.hpp include/std_algorithms/impl/Kokkos_CopyBackward.hpp include/std_algorithms/impl/Kokkos_CopyCopyN.hpp include/std_algorithms/impl/Kokkos_CopyIf.hpp include/std_algorithms/impl/Kokkos_CountCountIf.hpp include/std_algorithms/impl/Kokkos_Equal.hpp include/std_algorithms/impl/Kokkos_ExclusiveScan.hpp include/std_algorithms/impl/Kokkos_FillFillN.hpp include/std_algorithms/impl/Kokkos_FindEnd.hpp include/std_algorithms/impl/Kokkos_FindFirstOf.hpp include/std_algorithms/impl/Kokkos_FindIfOrNot.hpp include/std_algorithms/impl/Kokkos_ForEachForEachN.hpp +include/std_algorithms/impl/Kokkos_FunctorsForExclusiveScan.hpp include/std_algorithms/impl/Kokkos_GenerateGenerateN.hpp include/std_algorithms/impl/Kokkos_HelperPredicates.hpp include/std_algorithms/impl/Kokkos_IdentityReferenceUnaryFunctor.hpp include/std_algorithms/impl/Kokkos_InclusiveScan.hpp include/std_algorithms/impl/Kokkos_IsPartitioned.hpp include/std_algorithms/impl/Kokkos_IsSorted.hpp include/std_algorithms/impl/Kokkos_IsSortedUntil.hpp include/std_algorithms/impl/Kokkos_LexicographicalCompare.hpp include/std_algorithms/impl/Kokkos_MinMaxMinmaxElement.hpp include/std_algorithms/impl/Kokkos_Mismatch.hpp include/std_algorithms/impl/Kokkos_Move.hpp include/std_algorithms/impl/Kokkos_MoveBackward.hpp +include/std_algorithms/impl/Kokkos_MustUseKokkosSingleInTeam.hpp include/std_algorithms/impl/Kokkos_PartitionCopy.hpp include/std_algorithms/impl/Kokkos_PartitionPoint.hpp include/std_algorithms/impl/Kokkos_RandomAccessIterator.hpp include/std_algorithms/impl/Kokkos_Reduce.hpp include/std_algorithms/impl/Kokkos_ReducerWithArbitraryJoinerNoNeutralElement.hpp include/std_algorithms/impl/Kokkos_RemoveAllVariants.hpp include/std_algorithms/impl/Kokkos_Replace.hpp include/std_algorithms/impl/Kokkos_ReplaceCopy.hpp include/std_algorithms/impl/Kokkos_ReplaceCopyIf.hpp include/std_algorithms/impl/Kokkos_ReplaceIf.hpp include/std_algorithms/impl/Kokkos_Reverse.hpp include/std_algorithms/impl/Kokkos_ReverseCopy.hpp include/std_algorithms/impl/Kokkos_Rotate.hpp include/std_algorithms/impl/Kokkos_RotateCopy.hpp include/std_algorithms/impl/Kokkos_Search.hpp include/std_algorithms/impl/Kokkos_SearchN.hpp include/std_algorithms/impl/Kokkos_ShiftLeft.hpp include/std_algorithms/impl/Kokkos_ShiftRight.hpp include/std_algorithms/impl/Kokkos_SwapRanges.hpp include/std_algorithms/impl/Kokkos_Transform.hpp include/std_algorithms/impl/Kokkos_TransformExclusiveScan.hpp include/std_algorithms/impl/Kokkos_TransformInclusiveScan.hpp include/std_algorithms/impl/Kokkos_TransformReduce.hpp include/std_algorithms/impl/Kokkos_Unique.hpp include/std_algorithms/impl/Kokkos_UniqueCopy.hpp include/std_algorithms/impl/Kokkos_ValueWrapperForNoNeutralElement.hpp include/traits/Kokkos_ExecutionSpaceTrait.hpp include/traits/Kokkos_GraphKernelTrait.hpp include/traits/Kokkos_IndexTypeTrait.hpp include/traits/Kokkos_IterationPatternTrait.hpp include/traits/Kokkos_LaunchBoundsTrait.hpp include/traits/Kokkos_OccupancyControlTrait.hpp include/traits/Kokkos_PolicyTraitAdaptor.hpp include/traits/Kokkos_PolicyTraitMatcher.hpp include/traits/Kokkos_ScheduleTrait.hpp include/traits/Kokkos_Traits_fwd.hpp include/traits/Kokkos_WorkItemPropertyTrait.hpp include/traits/Kokkos_WorkTagTrait.hpp lib/cmake/Kokkos/KokkosConfig.cmake lib/cmake/Kokkos/KokkosConfigCommon.cmake lib/cmake/Kokkos/KokkosConfigVersion.cmake lib/cmake/Kokkos/KokkosTargets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/Kokkos/KokkosTargets.cmake lib/libkokkoscontainers.so -lib/libkokkoscontainers.so.4.1 -lib/libkokkoscontainers.so.4.1.00 +lib/libkokkoscontainers.so.4.3 +lib/libkokkoscontainers.so.4.3.0 lib/libkokkoscore.so -lib/libkokkoscore.so.4.1 -lib/libkokkoscore.so.4.1.00 +lib/libkokkoscore.so.4.3 +lib/libkokkoscore.so.4.3.0 lib/libkokkossimd.so -lib/libkokkossimd.so.4.1 -lib/libkokkossimd.so.4.1.00 +lib/libkokkossimd.so.4.3 +lib/libkokkossimd.so.4.3.0 diff --git a/lang/lfortran/Makefile b/lang/lfortran/Makefile index 80d13dfda11f..619068b21422 100644 --- a/lang/lfortran/Makefile +++ b/lang/lfortran/Makefile @@ -1,80 +1,81 @@ PORTNAME= lfortran DISTVERSIONPREFIX= v DISTVERSION= 0.34.0 +PORTREVISION= 1 CATEGORIES= lang MAINTAINER= fortran@FreeBSD.org COMMENT= Modern interactive Fortran compiler built on top of LLVM WWW= https://lfortran.org/ LICENSE= BSD3CLAUSE BROKEN_i386= sizeof(YYSTYPE) != sizeof(Vec) BUILD_DEPENDS= bash:shells/bash \ re2c>0:devel/re2c \ dwarfdump:devel/dwarfdump \ pandoc:textproc/hs-pandoc \ rapidjson>0:devel/rapidjson LIB_DEPENDS= libfmt.so:devel/libfmt \ libzstd.so:archivers/zstd \ libunwind.so:devel/libunwind \ libkokkoscore.so:devel/kokkos \ libLLVM-${LLVM_VERSION}.so:devel/llvm${LLVM_VERSION} RUN_DEPENDS= dwarfdump:devel/dwarfdump USE_GITHUB= yes USES= bison cmake:testing compiler:c++17-lang pkgconfig \ python:build ssl shebangfix SHEBANG_GLOB= *.py *.sh BINARY_ALIAS= python=${PYTHON_CMD} CMAKE_ON= LFORTRAN_BUILD_ALL WITH_DWARFDUMP WITH_FMT WITH_JSON \ WITH_KOKKOS WITH_LINKH WITH_LLVM WITH_STACKTRACE WITH_UNWIND USE_LDCONFIG= yes LLVM_VERSION= 15 # 16 is supported too OPTIONS_DEFINE= EXAMPLES # NB # NB is broken ATM NB_DESC= Documentation as a Jupyter notebook NB_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx@${PY_FLAVOR} \ sphinx-intl:textproc/py-sphinx@${PY_FLAVOR} \ myst-inv:textproc/py-myst-parser@${PY_FLAVOR} \ jupyter:devel/py-jupyter-core@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}nbsphinx>0:textproc/py-nbsphinx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx_material>0:textproc/py-sphinx-material@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx-copybutton>0:textproc/py-sphinx-copybutton@${PY_FLAVOR} \ PORTEXAMPLES= * # Xeus: version 3.0.5 is required and xeus-zmq 1.0.2 # + xtl-quant-stack + cppzmq + nlohmann_json + LibUUID + libzmq4 # See https://github.com/lfortran/lfortran/issues/1255 #BUILD_DEPENDS+= xtl-quant-stack>=0.7:devel/xtl-quant-stack \ # nlohmann-json>0:devel/nlohmann-json \ # cppzmq>=4.8.1:net/cppzmq #LIB_DEPENDS+= libxeus.so:devel/xeus \ # libzmq.so:net/libzmq4 \ # libxeus-zmq.so:devel/xeus-zmq \ # libuuid.so:misc/e2fsprogs-libuuid CMAKE_OFF+= WITH_XEUS # BFD: USE_BINUTILS= yes CMAKE_ON+= WITH_BFD LIB_DEPENDS+= libbfd.so:devel/binutils PLIST_SUB= VER=${PORTVERSION} pre-configure: ${ECHO_CMD} ${PORTVERSION} > ${WRKSRC}/version do-build-NB-on: (cd ${WRKSRC}/doc && ${PYTHON_CMD} build.py) post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include diff --git a/math/arborx/Makefile b/math/arborx/Makefile index bf26887e3cfe..e1432f563d88 100644 --- a/math/arborx/Makefile +++ b/math/arborx/Makefile @@ -1,27 +1,28 @@ PORTNAME= arborx DISTVERSIONPREFIX= v DISTVERSION= 1.6 +PORTREVISION= 1 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= Performance-portable geometric search library WWW= https://github.com/arborx/ArborX LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE CXX_DEPENDS= onetbb>0:devel/onetbb \ kokkos>0:devel/kokkos BUILD_DEPENDS= ${CXX_DEPENDS} RUN_DEPENDS= ${CXX_DEPENDS} USES= cmake:testing USE_GITHUB= yes GH_PROJECT= ArborX CMAKE_TESTING_ON= ARBORX_ENABLE_TESTS NO_ARCH= yes .include diff --git a/math/clad/Makefile b/math/clad/Makefile index c41bfd0634f8..1124df4daad1 100644 --- a/math/clad/Makefile +++ b/math/clad/Makefile @@ -1,40 +1,41 @@ PORTNAME= clad DISTVERSIONPREFIX= v DISTVERSION= 1.4 +PORTREVISION= 1 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= Automatic differentiation for C/C++ WWW= https://github.com/vgvassilev/clad LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/License.txt TEST_DEPENDS= kokkos>0:devel/kokkos USES= cmake:testing llvm:16,build,run localbase USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= vgvassilev CMAKE_ARGS= -DClang_DIR=${LLVM_PREFIX}/lib/cmake/clang \ -DLLVM_DIR=${LLVM_PREFIX}/lib/cmake/llvm \ -DLLVM_EXTERNAL_LIT=${LLVM_PREFIX}/bin/llvm-lit CMAKE_ON= BUILD_SHARED_LIBS CMAKE_TESTING_ON= FREEBSD_BUILD_TESTS FREEBSD_BUILD_DEMOS CMAKE_TESTING_TARGET= check-clad #CXXFLAGS+= -D_OPENMP post-patch: @${REINPLACE_CMD} \ -e ' \ s|import lit|&${LLVM_VERSION}|; \ s|lit\.|lit${LLVM_VERSION}.| \ ' \ ${WRKSRC}/test/lit.cfg # tests fail to compile: https://github.com/vgvassilev/clad/issues/798 .include diff --git a/science/lammps/Makefile b/science/lammps/Makefile index 9b982856933e..f5ba7266778e 100644 --- a/science/lammps/Makefile +++ b/science/lammps/Makefile @@ -1,158 +1,158 @@ PORTNAME= lammps PORTVERSION= ${GH_TAGNAME:C/(stable|patch)_([0-9]{1,2})([A-Z][a-z][a-z])([0-9]{4})/\4.\3.\2/S/Jan/01/S/Feb/02/S/Mar/03/S/Apr/04/S/May/05/S/Jun/06/S/Jul/07/S/Aug/08/S/Sep/09/S/Oct/10/S/Nov/11/S/Dec/12/S/_update/./:C/\.([1-9])$/.0\1/} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= science MAINTAINER= yuri@FreeBSD.org COMMENT= Classical molecular dynamics code with a focus on materials modeling WWW= https://lammps.sandia.gov/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_i386= undefined reference to `__atomic_load' LIB_DEPENDS= libevent.so:devel/libevent \ libfftw3.so:math/fftw3 \ libhwloc.so:devel/hwloc2 \ libnghttp2.so:www/libnghttp2 \ libpciaccess.so:devel/libpciaccess \ libssh2.so:security/libssh2 \ libzstd.so:archivers/zstd USES= blaslapack:openblas cmake:noninja,testing compiler:c++14-lang eigen:3 fortran gnome localbase:ldflags python shebangfix USE_GNOME= libxml2 USE_LDCONFIG= yes USE_PYTHON= cython USE_GITHUB= yes GH_TAGNAME= patch_21Nov2023 SHEBANG_GLOB= *.sh *.bash SHEBANG_FILES= lib/kokkos/bin/nvcc_wrapper CMAKE_ON= BUILD_SHARED_LIBS CMAKE_SOURCE_PATH= ${WRKSRC}/cmake CMAKE_ARGS= -DBLA_VENDOR:STRING="OpenBLAS" ${CMAKE_ARGS_${CHOSEN_COMPILER_TYPE}} \ -DPython_EXECUTABLE=${PYTHON_CMD} CMAKE_ARGS_gcc= -DBUILD_OMP:BOOL=false CMAKE_TESTING_ON= ENABLE_TESTING # 3 tests fail, see https://github.com/lammps/lammps/issues/3875 # enable packages (for a complete list see STANDARD_PACKAGES in cmake/CMakeLists.txt) CMAKE_ON+= PKG_ASPHERE PKG_ATC PKG_AWPMD PKG_BOCS PKG_BODY PKG_BROWNIAN PKG_CG-DNA PKG_CG-SDK PKG_CLASS2 CMAKE_ON+= PKG_COLLOID PKG_COLVARS PKG_COMPRESS PKG_DIELECTRIC PKG_DIFFRACTION PKG_DIPOLE PKG_DPD-BASIC PKG_DPD-MESO PKG_DPD-REACT PKG_DPD-SMOOTH CMAKE_ON+= PKG_DRUDE PKG_EFF PKG_EXTRA-COMPUTE PKG_EXTRA-DUMP PKG_EXTRA-FIX PKG_EXTRA-MOLECULE PKG_EXTRA-PAIR PKG_FEP PKG_GRANULAR PKG_H5MD CMAKE_ON+= PKG_INTERLAYER PKG_KIM PKG_KSPACE PKG_LATBOLTZ PKG_LATTE PKG_MACHDYN PKG_MANIFOLD PKG_MANYBODY PKG_MC CMAKE_ON+= PKG_MEAM PKG_MESSAGE PKG_MGPT PKG_MISC PKG_ML-IAP PKG_ML-RANN CMAKE_ON+= PKG_ML-SNAP PKG_MOFFF PKG_MOLECULE PKG_MOLFILE PKG_MPIIO PKG_ORIENT PKG_PERI PKG_PHONON CMAKE_ON+= PKG_PLUGIN PKG_PLUMED PKG_POEMS PKG_PTM PKG_PYTHON PKG_QEQ PKG_QMMM PKG_QTB PKG_REACTION PKG_REAXFF CMAKE_ON+= PKG_REPLICA PKG_RIGID PKG_SHOCK PKG_SMTBQ PKG_SPH PKG_SPIN PKG_SRD PKG_TALLY PKG_UEF CMAKE_ON+= PKG_VORONOI PKG_YAFF # Packages requiring extra downloades or dependencies: PKG_MSCG PKG_ADIOS PKG_MDI PKG_MESONT PKG_ML-PACE PKG_NETCDF PKG_ML-QUIP PKG_SCAFACOS PKG_VTK # PKG_ML-HDNNP downloads https://github.com/CompPhysVienna/n2p2/archive/v2.1.4.tar.gz OPTIONS_DEFINE= EXCEPTIONS JPEG PNG GZIP FFMPEG OPTIONS_GROUP= PARALLEL PACKAGES OPTIONS_DEFAULT= EXCEPTIONS MPI OPENMP JPEG PNG GZIP FFMPEG H5MD KIM KOKKOS LATTE NETCDF PLUMED VORONOI ${OPTIONS_DEFAULT_${CHOSEN_COMPILER_TYPE}} OPTIONS_SUB= yes PARALLEL_DESC= Enable parallelizations: PACKAGES_DESC= Enable packages: OPTIONS_GROUP_PARALLEL= MPI OPENMP ${OPTIONS_DEFINE_${CHOSEN_COMPILER_TYPE}} OPTIONS_GROUP_PACKAGES= H5MD KIM KOKKOS LATTE NETCDF PLUMED VORONOI VTK 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 FFMPEG_CMAKE_BOOL= WITH_FFMPEG FFMPEG_BUILD_DEPENDS= ffmpeg:multimedia/ffmpeg FFMPEG_RUN_DEPENDS= ffmpeg:multimedia/ffmpeg JPEG_CMAKE_BOOL= WITH_JPEG JPEG_USES= jpeg PNG_CMAKE_BOOL= WITH_PNG PNG_LIB_DEPENDS= libpng.so:graphics/png GZIP_DESC= Enable GZIP support GZIP_CMAKE_BOOL= WITH_GZIP H5MD_DESC= H5MD package based on the libhdf5 library H5MD_CMAKE_BOOL= PKG_H5MD H5MD_LIB_DEPENDS= libhdf5.so:science/hdf5 \ libsz.so:science/libaec KIM_DESC= KIM package based on the OpenKim library/repository KIM_USES= pkgconfig KIM_CMAKE_BOOL= PKG_KIM KIM_CMAKE_ON= -DDOWNLOAD_KIM:BOOL=OFF KIM_LIB_DEPENDS= libkim-api.so:science/kim-api \ libcurl.so:ftp/curl KIM_RUN_DEPENDS= openkim-models>0:science/openkim-models KOKKOS_DESC= Kokkos package based on the libkokkos library KOKKOS_CMAKE_BOOL= PKG_KOKKOS EXTERNAL_KOKKOS KOKKOS_LIB_DEPENDS= libkokkoscore.so:devel/kokkos LATTE_DESC= Latte package based on the liblatte library LATTE_CMAKE_BOOL= PKG_LATTE LATTE_LIB_DEPENDS= liblatte.so:science/latte NETCDF_DESC= NetCDF package based on the NetCDF library NETCDF_CMAKE_BOOL= PKG_NETCDF NETCDF_LIB_DEPENDS= libnetcdf.so:science/netcdf PLUMED_DESC= Plumed package based on the plumed library PLUMED_USES= pkgconfig PLUMED_CMAKE_BOOL= PKG_PLUMED PLUMED_CMAKE_ON= -DPLUMED_MODE=shared PLUMED_LIB_DEPENDS= libplumed.so:science/plumed VORONOI_DESC= Voro++, Voronoi tessellation package VORONOI_CMAKE_BOOL= PKG_VORONOI VORONOI_LIB_DEPENDS= libvoro++.so:science/voro++ VTK_DESC= VTK package based on the external VTK-${VTK_VER:R} library VTK_CMAKE_BOOL= PKG_VTK VTK_CMAKE_ON= -DVTK_DIR:PATH=${LOCALBASE}/lib/cmake/vtk-${VTK_VER} VTK_USES= gl qt:5 xorg VTK_USE= GL=opengl qt=core,declarative,gui,network,opengl,sql,widgets xorg=ice,sm,x11,xext,xt VTK_LIB_DEPENDS= libvtkCommonCore-${VTK_VER}.so:math/vtk${VTK_VER:R} \ libexpat.so:textproc/expat2 \ libfreetype.so:print/freetype2 \ libtiff.so:graphics/tiff PORTSCOUT= ignore:1 # due to a special version tagging scheme that this project uses portscout fails to find new versions, watching their GitHub release page instead .include .if ${PORT_OPTIONS:MOPENMP} CMAKE_ARGS+= -DBUILD_OMP:BOOL=true .endif xpost-patch: # adjust SHELL in Makefile @${REINPLACE_CMD} 's|SHELL = /bin/bash|SHELL = ${LOCALBASE}/bin/bash|' ${WRKSRC}/src/Makefile # fix python version, also see https://github.com/lammps/lammps/issues/3098, https://github.com/lammps/lammps/issues/3099 @${FIND} ${WRKSRC} -name "CMakeLists.txt" -o -name "*.cmake" | ${XARGS} ${REINPLACE_CMD} -e ' \ s|find_package(Python3 REQUIRED |find_package(Python $${FREEBSD_PYTHON_VER} EXACT REQUIRED |; \ s|find_package(Python 3.5 COMPONENTS |find_package(Python $${FREEBSD_PYTHON_VER} EXACT COMPONENTS |; \ s|find_package(Python 3.6 COMPONENTS |find_package(Python $${FREEBSD_PYTHON_VER} EXACT COMPONENTS |; \ s|find_package(Python3 REQUIRED |find_package(Python $${FREEBSD_PYTHON_VER} EXACT REQUIRED |; \ s|find_package(Python COMPONENTS |find_package(Python3 $${FREEBSD_PYTHON_VER} EXACT COMPONENTS |; \ s|find_package(Python3 COMPONENTS |find_package(Python3 $${FREEBSD_PYTHON_VER} EXACT COMPONENTS |; \ s|find_package(Python QUIET COMPONENTS |find_package(Python3 $${FREEBSD_PYTHON_VER} EXACT QUIET COMPONENTS |; \ s|find_package(Python REQUIRED COMPONENTS |find_package(Python3 $${FREEBSD_PYTHON_VER} EXACT REQUIRED COMPONENTS | \ ' post-patch-FFMPEG-off: @${REINPLACE_CMD} 's|find_program(FFMPEG_EXECUTABLE|#&|' ${WRKSRC}/cmake/CMakeLists.txt post-install: @${RM} -r ${STAGEDIR}${PREFIX}/lib/python* .include <../../math/vtk9/Makefile.version> .include diff --git a/science/nlcglib/Makefile b/science/nlcglib/Makefile index 634da8121a4a..308580caf02a 100644 --- a/science/nlcglib/Makefile +++ b/science/nlcglib/Makefile @@ -1,39 +1,39 @@ PORTNAME= nlcglib DISTVERSIONPREFIX= v DISTVERSION= 1.0b-20230622 -PORTREVISION= 2 +PORTREVISION= 3 DISTVERSIONSUFFIX= -gac293eb CATEGORIES= science MAINTAINER= yuri@FreeBSD.org COMMENT= Nonlinear CG methods for wave-function optimization in DFT WWW= https://github.com/simonpintarelli/nlcglib LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= nlohmann-json>0:devel/nlohmann-json LIB_DEPENDS= libkokkoscore.so:devel/kokkos \ libopenblas.so:math/openblas TEST_DEPENDS= googletest>0:devel/googletest USES= cmake:testing pkgconfig USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= simonpintarelli CMAKE_TESTING_ON= BUILD_TESTS # tests fail to compile, see https://github.com/simonpintarelli/nlcglib/issues/19 OPTIONS_DEFINE= OPENMP OPTIONS_SINGLE= MPI OPTIONS_SINGLE_MPI= MPICH OPENMPI OPTIONS_DEFAULT= MPICH OPENMP MPICH_USES= mpi:mpich OPENMPI_USES= mpi:openmpi OPENMP_CMAKE_BOOL= USE_OPENMP # binaries are still linked with libomp when USE_OPENMP=OFF, see https://github.com/simonpintarelli/nlcglib/issues/13 .include