Conan-center-index: [package] Boost: Allow unknown platforms

Created on 26 Nov 2019  路  6Comments  路  Source: conan-io/conan-center-index

Package and Environment Details (include every applicable attribute)

  • Operating System+version: Linux Mint 19.1

I have a private cross-compiler (linux-x86_64 to e2k) and i can't build 'boost', for example, for this reason

raise Exception("I'm so sorry! I don't know the appropriate ABI for your architecture. :'(")

Can we use warning instead of error in this case? May be, conan also should support it?

bug

All 6 comments

Hi @n1-b !

Do you know if e2k requires extra args? You can open a PR skipping that error.

we definitely should allow arbitrary platforms and only issue a warning for the unknown things, not preventing them

Do you know if e2k requires extra args?

Think that no extra. I know that current version of compiler flags similar with ~gcc-5.5, but additional args also can be passed from profile if it needed.

so far, only ARM hard-float required special flags. I guess we should use no flags for all unknown platforms and just print warning, that should be enough.

@danimtb Boost was just as an example, should i create new issues for another packages?

@n1-b yes, create issues for other packages with the trace.

Also, keep in mind that we cannot test all the configurations, so recipes might not build with a specific setting. Some of these configurations are difficult to test and set up the environment can be tricky, so we will not be able to fix them in some cases. Any collaboration with pull requests to improve the recipes will be the best option. Thanks

Was this page helpful?
0 / 5 - 0 ratings