Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libmicrohttpd: several fixes & more conan v2 stuff #15050

Merged

Conversation

SpaceIm
Copy link
Contributor

@SpaceIm SpaceIm commented Jan 1, 2023


@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

- relocatable shared lib on macOS
- put source code under src folder
- use rm_safe
- delete fPIC if Windows only
- allow other build type than Release & Debug for msvc
- add VirtualBuildEnv for autotools build (since there is msys2 in build requirements for MinGW)
- remove PkgConfigDeps. It's used to discover gnutls only, but it's disabled by the recipe currently.
- more future proof way to use MSBuild helper (see conan-io/conan#12817)
- disable whole program optimization in  msvc build
@SpaceIm SpaceIm force-pushed the libmicrohttpd-several-fixes branch from fbc20f3 to 0f07a45 Compare January 3, 2023 00:54
@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline

All green in build 5 (0f07a4530b55411e732ec7ebb54f0918c3ec3146):

  • libmicrohttpd/0.9.75@:
    All packages built successfully! (All logs)

Conan v2 pipeline (informative, not required for merge)

Failure in build 5 (0f07a4530b55411e732ec7ebb54f0918c3ec3146):

  • libmicrohttpd/0.9.75@:
    CI failed to create some packages (All logs)

    Logs for packageID null:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    */*:shared=False
    
    ********************************************************************************
    conan install --require=libmicrohttpd/0.9.75@#67ad0c03b601705ca9acbb1bf9156e73 --build=libmicrohttpd/0.9.75 -pr:h /home/conan/w/prod-v2/BuildSingleReference/9429/a45913e0-5cf6-4de6-b970-8b85434e3800/profile_linux_11_libstdcpp11_gcc_release_64.-shared-False.txt -c:h tools.system.package_manager:mode=install -c:h tools.system.package_manager:sudo=True -pr:b /home/conan/w/prod-v2/BuildSingleReference/9429/a45913e0-5cf6-4de6-b970-8b85434e3800/profile_linux_11_libstdcpp11_gcc_release_64.-shared-False.txt -c:b tools.system.package_manager:mode=install -c:b tools.system.package_manager:sudo=True
    ********************************************************************************
    
    -------- Input profiles --------
    Profile host:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    */*:shared=False
    [conf]
    tools.system.package_manager:mode=install
    tools.system.package_manager:sudo=True
    
    Profile build:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    */*:shared=False
    [conf]
    tools.system.package_manager:mode=install
    tools.system.package_manager:sudo=True
    
    
    -------- Computing dependency graph --------
    zlib/1.2.13: Not found in local cache, looking in remotes...
    zlib/1.2.13: Checking remote: conan-center-v2
    zlib/1.2.13: Checking remote: c3i_PR-v2-15050
    Graph root
        virtual
    Requirements
        libmicrohttpd/0.9.75#67ad0c03b601705ca9acbb1bf9156e73 - Cache
    Graph error
        Package 'zlib/1.2.13' not resolved: Unable to find 'zlib/1.2.13' in remotes
    
    -------- Computing necessary packages --------
    ERROR: Package 'zlib/1.2.13' not resolved: Unable to find 'zlib/1.2.13' in remotes
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.

@conan-center-bot conan-center-bot merged commit 4057b66 into conan-io:master Jan 6, 2023
@SpaceIm SpaceIm deleted the libmicrohttpd-several-fixes branch January 6, 2023 20:05
RubenRBS pushed a commit to RubenRBS/conan-center-index that referenced this pull request Jan 16, 2023
* avoid code duplication in test package

* several fixes & improvements

- relocatable shared lib on macOS
- put source code under src folder
- use rm_safe
- delete fPIC if Windows only
- allow other build type than Release & Debug for msvc
- add VirtualBuildEnv for autotools build (since there is msys2 in build requirements for MinGW)
- remove PkgConfigDeps. It's used to discover gnutls only, but it's disabled by the recipe currently.
- more future proof way to use MSBuild helper (see conan-io/conan#12817)
- disable whole program optimization in  msvc build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants