You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
44 lines
1.9 KiB
Tcl
44 lines
1.9 KiB
Tcl
# -*- 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 cmake 1.1
|
||
PortGroup github 1.0
|
||
|
||
github.setup ekg atomicbitvector e295358fea9532fa4c37197630d037a4a53ddede
|
||
# Change github.tarball_from to 'releases' or 'archive' next update
|
||
github.tarball_from tarball
|
||
name libatomicbitvector
|
||
version 2020.05.19
|
||
categories devel
|
||
license Apache-2
|
||
platforms any
|
||
supported_archs noarch
|
||
maintainers nomaintainer
|
||
description Atomic bitset/bitvector with size determined at runtime.
|
||
long_description This header-only library encodes a bitvector class with size fixed at runtime. \
|
||
Atomic operations allow for concurrent access and modification of the bitset. \
|
||
Such a structure can help with coordinating parallel processing of a given \
|
||
fixed set of entities and has the advantage of only requiring O(1) bit per entry. \
|
||
The atomic_bv_t class is a straightforward extension of ConcurrentBitSet \
|
||
from Facebook’s folly C++ library. It wraps the atomic type with a class \
|
||
that allows them to be copied, and these wrapped atomic types are then used \
|
||
to build a vector size of which is determined at runtime.
|
||
checksums rmd160 741c3e452145739850049ba9da100a0b6d32c460 \
|
||
sha256 528d238dc635ce08215c99aabaf75550703677d827f1611b08c3d135ac13bcd6 \
|
||
size 9976
|
||
|
||
patchfiles patch-CMakeLists.diff
|
||
|
||
post-patch {
|
||
reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/CMakeLists.txt
|
||
}
|
||
|
||
configure.args-append \
|
||
-Dbuild_tests=OFF
|
||
|
||
# Current default with upstream:
|
||
cmake.build_type Debug
|
||
|
||
compiler.cxx_standard 2014
|
||
compiler.openmp_version 3.0
|