parallel-hashmap: update to 2.0.0#29657
Conversation
|
Notifying maintainers: |
|
allout.txt |
|
@trustbyte This is all I needed locally for the build to work: macos-powerpc/powerpc-ports@14c2b54 Since the project itself only asks for C++11 https://github.com/greg7mdp/parallel-hashmap/blob/88123934b46b77c3b6d80167382734cbff6eff74/CMakeLists.txt#L27 I think C++14 was due to Upd. Perhaps |
|
From the CI log here: I recall seeing similar complaints from gcc with some Qt4-based project, but did not investigate the matter. Does adding a space work? |
|
@trustbyte On Catalina is fails now both from my older port and your from this PR. So this should be a draft, it is broken presently. P. S. It fails on |
devel/parallel-hashmap/Portfile
Outdated
| size 2047800 | ||
| checksums rmd160 a37046afe248c835966a3b66e5d242b5f3b8dd30 \ | ||
| sha256 4f462f51a3468166ea4cf87c80e001dc1999093264cf55cbda3492ca39a7730b \ | ||
| size 2059086 \ |
There was a problem hiding this comment.
Please remove that slash, otherwise we can miss it later. And an added extra line above platfrom darwin (no need for two empty lines).
There was a problem hiding this comment.
Removed, thanks for checking it up.
|
I wonder if we can use MacPorts’ mock instead (and then also drop dependency on Upd. We got a pretty out-of-date |
|
Okay, |
|
@trustbyte I have opened an issue, see details there: google/googletest#4860 |
You may try this: greg7mdp/parallel-hashmap#288 |
|
I will try on Sonoma to see if I also get space errors. On Catalina the build works with default clang now. (For the record, I updated gtest to 1.17.0.) |
|
Lets hope this one (#29666) builds and gets in first so we have something going. |
|
Thank you for the PR, I just merged PR with the gtest. Now this PR needs to be rebased with upstream to check if the new gtest version resolves the issue. How to rebaseUpdate your local branch with upstream:git checkout <your_branch>
git fetch upstream
git rebase upstream/masterResolve any merge conflicts if they occur, then force push |
9428c44 to
e890ec6
Compare
|
Just curious, why rebase? The runners use the latest master and my branch, right? |
|
@barracuda156 It looks good, what about the compiler, should I take it out, leave at 2014 or? Then I'll squash and done. |
I think it is safer to match the setting in |
6915b48 to
ed1966a
Compare
|
OK, Left it as in gtest ( macports-ports/devel/gtest/Portfile Line 42 in 433c023 Thank you! |
devel/parallel-hashmap/Portfile
Outdated
| size 2059086 | ||
|
|
||
| github.tarball_from archive | ||
| depends_test port:gtest |
There was a problem hiding this comment.
This should be build dependency. Alternatively, building tests can be disabled by default and moved into a variant.
There was a problem hiding this comment.
Right, depends_build-append then.
fbc22ae to
de738c0
Compare
devel/parallel-hashmap/Portfile
Outdated
| configure.args-append -DPHMAP_INSTALL=ON \ | ||
| -DPHMAP_BUILD_TESTS=ON \ | ||
| -DPHMAP_BUILD_EXAMPLES=OFF | ||
| configure.ldflags-append -pthread |
There was a problem hiding this comment.
Last thing – sorry, missed this – is this actually needed on some macOS version? It should be set by CMake if not by compiler to begin with.
There was a problem hiding this comment.
Probably not, leftover from some test.
There was a problem hiding this comment.
P. S. And if it is needed, then it is worth also reporting it to upstream so that it can be fixed by next release. I only tried on 10.6 and 10.15, neither needed manual -pthread.
62f1a10 to
65770e2
Compare
Description
Type(s)
Tested on
macOS 26.0.1 25A362 arm64
Command Line Tools 26.0.0.0.1.1757719676
Verification
Have you
port lint?sudo port test?sudo port -vst install?