Skip to content

Commit

Permalink
devel/hpx: Update 1.2.1 -> 1.8.0
Browse files Browse the repository at this point in the history
Reported by:	portscout
  • Loading branch information
yurivict committed May 24, 2022
1 parent 3079ad1 commit 8b67aaf
Show file tree
Hide file tree
Showing 6 changed files with 1,603 additions and 416 deletions.
26 changes: 17 additions & 9 deletions devel/hpx/Makefile
@@ -1,6 +1,5 @@
PORTNAME= hpx
DISTVERSION= 1.2.1
PORTREVISION= 4
DISTVERSION= 1.8.0
CATEGORIES= devel

MAINTAINER= yuri@FreeBSD.org
Expand All @@ -9,21 +8,30 @@ COMMENT= C++ Standard Library for Parallelism and Concurrency
LICENSE= BSL
LICENSE_FILE= ${WRKSRC}/LICENSE_1_0.txt

BROKEN_riscv64= fails to compile: hpx/util/hardware/timestamp.hpp:43:6: error: Unsupported platform
BROKEN= fails to compile: error: use of undeclared identifier 'BOOST_INTERLOCKED_EXCHANGE'

BUILD_DEPENDS= asio>0:net/asio
LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \
libhwloc.so.15:devel/hwloc2

USES= cmake compiler:c++17-lang python shebangfix
USES= cmake:testing compiler:c++17-lang python shebangfix
USE_LDCONFIG= yes

USE_GITHUB= yes
GH_ACCOUNT= STEllAR-GROUP
SHEBANG_FILES= cmake/templates/hpxrun.py.in cmake/templates/hpxcxx.in python/scripts/*.py
USE_LDCONFIG= yes

SHEBANG_FILES= cmake/templates/hpxrun.py.in cmake/templates/hpxcxx.in
SHEBANG_GLOB= *.py

CMAKE_ON= HPX_WITH_GENERIC_CONTEXT_COROUTINES
CMAKE_OFF= HPX_WITH_EXAMPLES HPX_WITH_TESTS
CMAKE_OFF= HPX_WITH_EXAMPLES HPX_WITH_TESTS HPX_WITH_TESTS_BENCHMARKS HPX_WITH_TESTS_REGRESSIONS HPX_WITH_TESTS_UNIT HPX_WITH_TESTS_EXAMPLES
CMAKE_TESTING_ON= HPX_WITH_TESTS HPX_WITH_TESTS_UNIT # tests fail: https://github.com/STEllAR-GROUP/hpx/issues/5893

LDFLAGS+= ${LDFLAGS_${CHOSEN_COMPILER_TYPE}}
LDFLAGS_gcc= -latomic

BINARY_ALIAS= git=false

post-install:
@${RM} ${STAGEDIR}${DATADIR}/LICENSE_1_0.txt
@${RMDIR} ${STAGEDIR}${DATADIR}

.include <bsd.port.mk>
6 changes: 3 additions & 3 deletions devel/hpx/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1550990902
SHA256 (STEllAR-GROUP-hpx-1.2.1_GH0.tar.gz) = 8cba9b48e919035176d3b7bbfc2c110df6f07803256626f1dad8d9dde16ab77a
SIZE (STEllAR-GROUP-hpx-1.2.1_GH0.tar.gz) = 3828131
TIMESTAMP = 1653417530
SHA256 (STEllAR-GROUP-hpx-1.8.0_GH0.tar.gz) = 93f147ab7cf0ab4161f37680ea720d3baeb86540a95382f2fb591645b2a9b135
SIZE (STEllAR-GROUP-hpx-1.8.0_GH0.tar.gz) = 5209106
@@ -0,0 +1,10 @@
--- components/performance_counters/memory/include/hpx/components/performance_counters/memory/mem_counter.hpp.orig 2022-05-24 18:40:32 UTC
+++ components/performance_counters/memory/include/hpx/components/performance_counters/memory/mem_counter.hpp
@@ -19,6 +19,7 @@ namespace hpx { namespace performance_counters { names
std::uint64_t read_psm_resident(bool);

#if defined(__linux) || defined(linux) || defined(linux__) || defined(__linux__) \
+ || defined(__FreeBSD__) \
|| defined(HPX_WINDOWS)
// returns total available memory
std::uint64_t read_total_mem_avail(bool);

This file was deleted.

2 changes: 1 addition & 1 deletion devel/hpx/pkg-descr
Expand Up @@ -7,4 +7,4 @@ use, highly optimized, and very portable. HPX is developed for conventional
architectures including Linux-based systems, Windows, Mac, and the BlueGene/Q,
as well as accelerators such as the Xeon Phi.

WWW: https://stellar-group.org/libraries/hpx/
WWW: https://hpx.stellar-group.org/

0 comments on commit 8b67aaf

Please sign in to comment.