Skip to content

qcbor: add version 1.2 - #15400

Merged
conan-center-bot merged 2 commits into
conan-io:masterfrom
toge:qcbor-1.2
Jan 31, 2023
Merged

conan-center-bot merged 2 commits into
conan-io:masterfrom
toge:qcbor-1.2

Conversation

@toge

@toge toge commented Jan 21, 2023

Copy link
Copy Markdown
Contributor

Specify library name and version: qcbor/*

  • add version 1.2
  • use rm_safe
  • use add_subdirectory
  • add disable_float option for 1.2

@conan-center-bot

Copy link
Copy Markdown
Contributor

Conan v1 pipeline ✔️

All green in build 1 (024614a8f10bfcbd26347d1deda62b2995381653):

  • qcbor/1.1@:
    All packages built successfully! (All logs)

  • qcbor/1.0@:
    All packages built successfully! (All logs)

  • qcbor/1.2@:
    All packages built successfully! (All logs)

options = {
"shared": [True, False],
"fPIC": [True, False],
"disable_float": [False, "HW_USE", "PREFERRED", "ALL"],

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Options should be lowercase 🤔 I dont recall if that meant values too

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be applied to values too, because on case-sensitive systems like Linux, it will be affected. We didn't enforce it because fPIC is an exception (I would prefer using fpic on Conan 2.0 but it would affect all recipes ...)

tc.variables["QCBOR_OPT_DISABLE_FLOAT_HW_USE"] = self.options.disable_float in ["HW_USE", "PREFERRED", "ALL"]
tc.variables["QCBOR_OPT_DISABLE_FLOAT_PREFERRED"] = self.options.disable_float in ["PREFERRED", "ALL"]
tc.variables["QCBOR_OPT_DISABLE_FLOAT_ALL"] = self.options.disable_float == "ALL"
tc.cache_variables["CMAKE_POLICY_DEFAULT_CMP0077"] = "NEW"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be fixed in 1.54

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, it has been fixed by conan-io/conan#12401

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@toge currently we are running Conan 1.57.0 here in CCI: https://github.com/conan-io/conan-center-index/blob/master/.c3i/config_v1.yml#L6 so you could update required_conan_version to 1.54.0 and remove CMAKE_POLICY_DEFAULT_CMP0077 line

@uilianries uilianries left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's good enough, can be improved in another PR.

@conan-center-bot
conan-center-bot merged commit 26725fb into conan-io:master Jan 31, 2023
StellaSmith pushed a commit to StellaSmith/conan-center-index that referenced this pull request Feb 2, 2023
* qcbor: add version 1.2

* revert disable_float option
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants