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

Add additional compiler options to conan_cmake_detect_unix_libcxx #197

Merged
merged 4 commits into from
Sep 2, 2020

Conversation

puetzk
Copy link
Contributor

@puetzk puetzk commented Jan 24, 2020

Without these many options many wrappers (e.g. ccache, winegcc) or cross-compiling toolchains (e.g. yocto) may not find the intended underlying tools and sysroot, leading to the command failing, or (perhaps worse) succeeding, but using defaults instead of the intended underlying gcc or libstdc++ and thus getting inaccurate results.

Fixes #182
Fixes #195

czoido and others added 2 commits January 16, 2020 11:21
Without these many options many wrappers (e.g. ccache, winegcc)
or cross-compiling toolchains (e.g. yocto) may not find the intended
underlying tools and sysroot, leading to the command failing,
or (perhaps worse) succeeding, but using defaults instead of the intended
underlying gcc or libstdc++ and thus getting inaccurate results
@puetzk puetzk force-pushed the conan_cmake_detect_unix_libcxx-args branch from e70c3e2 to 5d2d01d Compare January 24, 2020 05:35
@puetzk
Copy link
Contributor Author

puetzk commented Jan 24, 2020

one Travis failure (xcode8.3), but seems to be a network error hitting bintray, which seems unrelated to my changes:

https://travis-ci.org/conan-io/cmake-conan/jobs/641220956#L2958-L2961

Hello/0.1@memsharded/testing: Not found in local cache, looking in remotes...
Hello/0.1@memsharded/testing: Trying with 'conan-center'...
ERROR: Failed requirement 'Hello/0.1@memsharded/testing' from 'Test/0.1@test/testing'
ERROR: HTTPSConnectionPool(host='conan.bintray.com', port=443): Max retries exceeded with url: /v1/ping (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x10615a438>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known'))

I don't see a way to ask it to rerun; presumably that takes more permissions.

@czoido czoido closed this Jan 29, 2020
@czoido czoido reopened this Jan 29, 2020
@czoido
Copy link
Contributor

czoido commented Jan 29, 2020

Hi @puetzk, I closed and opened to relaunch the CI

@puetzk
Copy link
Contributor Author

puetzk commented Jan 29, 2020

Thanks. I've got the CLA submitted to our OSS governance contribution review;; I don't expect any problem since they've approved contributions in other Conan repositories with the same wording, but it's apparently taking a few days.

@puetzk
Copy link
Contributor Author

puetzk commented Feb 6, 2020

CLA finally signed, sorry that took much longer than usual this time for some reason.

puetzk added 2 commits May 16, 2020 15:50
…IONS

Both of these CMake properties permit generator-expressions,
but execute_process runs at configuration time and so won't expand them,
and the compiler will not accept $<...> syntax verbatim.

I see no way to get them expanded properly while still running this during
configuration, but it seems reasonable to assume that conditional options
should not change something as fundamental as settings.libcxx
@puetzk puetzk force-pushed the conan_cmake_detect_unix_libcxx-args branch from 5d2d01d to 802a932 Compare May 16, 2020 20:57
@CLAassistant
Copy link

CLA assistant check
All committers have signed the CLA.

@smessmer
Copy link
Contributor

Related issue that might touch on these changes: #256

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants