Coder Social home page Coder Social logo

Comments (33)

ned14 avatar ned14 commented on July 24, 2024 1

Chris won't allow it for ASIO.

For zstd, I can ask, and I shall.

from hunter.

ned14 avatar ned14 commented on July 24, 2024 1

I'm currently negotiating with the zstd maintainers for them to directly support hunter. So far it goes well.

I'll hopefully push ASIO later today. Thanks for your help.

from hunter.

ned14 avatar ned14 commented on July 24, 2024 1

zstd accepted the PR, so it's ready to go. I've subscribed to PR #95 so I'll see when it's ready. Meanwhile I should be able to PR ASIO soon.

from hunter.

ned14 avatar ned14 commented on July 24, 2024 1

Already fixed in the PR at cpp-pm/asio#3

from hunter.

NeroBurner avatar NeroBurner commented on July 24, 2024

could you try to bring you cmake specific changes upstream?

from hunter.

ned14 avatar ned14 commented on July 24, 2024

facebook/zstd#1922

from hunter.

bkotzz avatar bkotzz commented on July 24, 2024

FYI we do still fork packages if needed, it’s just done in the cpp-pm org. Let us know if you need one

from hunter.

ned14 avatar ned14 commented on July 24, 2024

You'll definitely need one for ASIO.

from hunter.

rbsheth avatar rbsheth commented on July 24, 2024

@ned14 New forks here:

https://github.com/cpp-pm/zstd
https://github.com/cpp-pm/asio

Added you to the packages team also. Please send your PRs against the hunter-* branches I made there.

from hunter.

ned14 avatar ned14 commented on July 24, 2024

@rbsheth Sorry, you've used the wrong base for the hunter-* branch. It ought to be https://github.com/cpp-pm/asio/releases/tag/asio-1-12-2 which is the latest stable release. Can you redo the branch against that release tag please?

Also, with old cmake hunter, the branch names in the packages directory were named after the release e.g. v0.5-p0. Has the policy on this changed? If so, should I ignore the branch naming conventions specified by https://docs.hunter.sh/en/latest/creating-new/create/cmake.html?

from hunter.

ned14 avatar ned14 commented on July 24, 2024

hunterisation zstd PR has been submitted to facebook/zstd#1924

Can hunter directly use repos without a CMakeLists.txt in their base directory? It would be a shame to have to fork zstd purely and exclusively just to stick a dummy CMakeLists.txt in its root.

from hunter.

NeroBurner avatar NeroBurner commented on July 24, 2024

We could try to add that functionality to hunter

Something like the subdirectory feature for git repos

ruslo#928

from hunter.

rbsheth avatar rbsheth commented on July 24, 2024

@ned14 Fixed: https://github.com/cpp-pm/asio

I think the branches were just the version and the releases had the -pX suffixes.

from hunter.

NeroBurner avatar NeroBurner commented on July 24, 2024

@ned14 for zstd you can use hunter_source_subdir() when the PR is merged

#95

from hunter.

rbsheth avatar rbsheth commented on July 24, 2024

@ned14 #95 was merged and released in https://github.com/cpp-pm/hunter/releases/tag/v0.23.236, looking forward to your PRs!

from hunter.

ned14 avatar ned14 commented on July 24, 2024

I've got an ASIO PR ready, just was awaiting the SHA. I should push it soon.

from hunter.

ned14 avatar ned14 commented on July 24, 2024

What's the point of hunter-testing when PRs against hunter are CI checked?

Also the advice to use Appveyor doesn't work, due to lack of an appveyor.yml file in the root of hunter. I don't know why you don't have one of those.

from hunter.

NeroBurner avatar NeroBurner commented on July 24, 2024

PRs against hunter check the consistency of the hunter package declaration. They don't check if the packages themselves build successfully. The packages themselves are tested at hunter-testing

The process is documented here https://docs.hunter.sh/en/latest/creating-new/create/cmake.html

The cpp-pm guys are working on simplifying this process (see #9 and #28 for example). Input on this is highly appreciated

from hunter.

ned14 avatar ned14 commented on July 24, 2024

The current new package add process is quite confusing for the uninitiated, but I am making progress:

Is it okay to remove whole chunks of CI testing? Specifically, the mingw CI tests, ASIO doesn't officially support mingw, and there's a header only target for those folk in any case.

from hunter.

NeroBurner avatar NeroBurner commented on July 24, 2024

remove whole chunks of CI testing?

yes, just add a comment on why the chunk was commented out and add a link to a failing ci-job showing the error. For example: https://github.com/ingenue/hunter/blob/pkg.ceres-solver/appveyor.yml#L32

I'd recommend looking into why gcc and clang are failing. It looks like pthreads is missing, as it fails at the linking stage
https://travis-ci.org/ned14/hunter-testing/jobs/624616633#L1009

/home/travis/build/ned14/hunter-testing/_testing/Hunter/_Base/79224c5/239e635/f550390/Install/lib/libasio_shared.so: undefined reference to `pthread_create'

from hunter.

rbsheth avatar rbsheth commented on July 24, 2024

@ned14 Released: https://github.com/cpp-pm/asio/releases/tag/v1.12.2-8d6df7b-p1

from hunter.

ned14 avatar ned14 commented on July 24, 2024

Ok PR is opened for hunter-testing cpp-pm/hunter-testing#20

I'm a bit confused now what happens next for #101. Do I have to do anything, or does what I PRed to hunter-testing auto-migrate over to hunter?

from hunter.

rbsheth avatar rbsheth commented on July 24, 2024

@ned14 First, we merge this PR. Then, I update pkg.template with the latest master and cut a branch pkg.asio. Then, your testing PR is merged into that branch.

As such, you should update this PR #101 with the -p1 release.

from hunter.

ned14 avatar ned14 commented on July 24, 2024

As such, you should update this PR #101 with the -p1 release.

Just to be clear, PR #101 should be updated with the -p1 release, but without the changes to travis and appveyor right? To be absolutely clear, everything in hunter-testing apart from those two files?

from hunter.

rbsheth avatar rbsheth commented on July 24, 2024

That's right! I know it is confusing, but that's how the system works right now.

from hunter.

ned14 avatar ned14 commented on July 24, 2024

-p1 is pushed to PR #101

from hunter.

rbsheth avatar rbsheth commented on July 24, 2024

@ned14 Thanks, couple comments on #101 and then I can merge

from hunter.

rbsheth avatar rbsheth commented on July 24, 2024

@ned14 #101 merged, released here: https://github.com/cpp-pm/hunter/releases/tag/v0.23.237

from hunter.

ned14 avatar ned14 commented on July 24, 2024

Given:

https://ci.appveyor.com/project/ned14/hunter-testing/builds/29599780/job/wkuw7nx1mdirnh25

... could someone have a look at https://github.com/ned14/hunter-testing/blob/pkg.zstd/cmake/projects/zstd/hunter.cmake and tell me what I'm doing wrong with the new source subdir facility?

from hunter.

NeroBurner avatar NeroBurner commented on July 24, 2024

I'm sorry, I goofed up the example in the documentation

#105

you need to have another include to hunter_source_dir hunter_source_subdir and then use the command

hunter_source_subdir(
    zstd
    SOURCE_SUBDIR
    "build/cmake")

edit: hunter_source_dir --> hunter_source_subdir()

from hunter.

ned14 avatar ned14 commented on July 24, 2024

I tried that:

https://github.com/ned14/hunter-testing/blob/pkg.zstd/cmake/projects/zstd/hunter.cmake

And https://ci.appveyor.com/project/ned14/hunter-testing/build/job/xvp6go8qdvnf5ve2 complains about no such include file.

from hunter.

NeroBurner avatar NeroBurner commented on July 24, 2024

from hunter.

ned14 avatar ned14 commented on July 24, 2024

zstd just in time for Christmas!

from hunter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.