# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup github 1.0 PortGroup cmake 1.1 github.setup kokkos kokkos 4.3.01 conflicts kokkos-devel revision 0 categories devel license BSD maintainers {mcalhoun @MarcusCalhoun-Lopez} openmaintainer description implements a programming model in C++ for writing performance portable applications targeting all major HPC platforms long_description Kokkos Core {*}${description}. checksums rmd160 f4e600d10da7f8dea9b6394984cefa42c022c9be \ sha256 eeffca89eb75584c4ac8bd55e8a3fcfb130400a696ba94fce7cfb5c77978131d \ size 2431476 subport kokkos-devel { github.setup kokkos kokkos cb225a7b4d4c12505ede004f21af6fb2fb5133f3 version 2024.08.23 conflicts kokkos maintainers-append {@barracuda156 gmail.com:vital.had} checksums rmd160 a14877afa32697b196160845fc6ae27e9ff38dd9 \ sha256 ab59494ab2ca83929e784ebbb1a3c86b69a50518a67e3df5b21f1c8eac1f39ac \ size 2415084 github.tarball_from archive github.livecheck.branch develop # Kokkos_HostSpace.cpp:79:11: error: aligned allocation function # of type 'void *(std::size_t, std::align_val_t, const std::nothrow_t &) # noexcept' is only available on macOS 10.13 or newer if {${os.platform} eq "darwin" && ${os.major} < 17} { if {${configure.cxx_stdlib} eq "libc++"} { configure.cxxflags-append -fno-aligned-allocation } } } compiler.cxx_standard 2017 compiler.openmp_version 4.0 depends_lib-append port:hwloc configure.args-append -DBUILD_SHARED_LIBS=ON \ -DKokkos_ENABLE_OPENMP=ON \ -DKokkos_ENABLE_SERIAL=ON \ -DKokkos_ENABLE_HWLOC=ON # see https://github.com/macports/macports-base/commit/7c91604891fa0d071b8d598490c4dc2edb8e0031 # see https://github.com/macports/macports-ports/pull/17877#discussion_r1183486766 compiler.log_verbose_output no variant tests description {Enable tests} { configure.args-append -DKokkos_ENABLE_TESTS=ON configure.pre_args-replace \ -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON \ -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=OFF test.run yes }