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

[vcpkg] Fix unrecognized identifier errors in prbuild and cibuild. #15354

Merged
merged 4 commits into from Jan 10, 2021

Conversation

BillyONeal
Copy link
Member

Error: Unrecognized identifer name false. Add to override list in triplet file.
tensorflow-common's version numbers are unchanged because there is no effect on any consumers.

Error: Unrecognized identifer name ios. Add to override list in triplet file.
This is used in the "ashes" port and is recognized by the community triplet x64-ios.

@BillyONeal BillyONeal added category:port-bug The issue is with a library, which is something the port should already support category:vcpkg-bug The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`) info:internal This PR or Issue was filed by the vcpkg team. labels Dec 28, 2020
@@ -1,6 +0,0 @@
Source: tensorflow-common
Copy link
Contributor

Choose a reason for hiding this comment

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

The new approach and the older approach both share a problem in that they will not track changes to the shared files in their ABIs.

The correct (abi-tracking) way to handle this situation is to either:

  1. Duplicate the files into each port directory
  2. Keep the tensorflow-common port, change it to install the shared files into some directory, such as share/tensorflow-common/..., and refer to those files from the other ports via ${CURRENT_INSTALLED_DIR}/share/....

Copy link
Member Author

Choose a reason for hiding this comment

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

I did (2).

Error: Unrecognized identifer name false. Add to override list in triplet file.
tensorflow-common's version numbers are unchanged because there is no effect on any consumers.

Error: Unrecognized identifer name ios. Add to override list in triplet file.
This is used in the "ashes" port and is recognized by the community triplet x64-ios.
@JackBoosY JackBoosY added the category:vcpkg-feature The issue is a new capability of the tool that doesn’t already exist and we haven’t committed label Jan 4, 2021
ports/tensorflow-common/portfile.cmake Outdated Show resolved Hide resolved
@BillyONeal BillyONeal merged commit a8fa84e into microsoft:master Jan 10, 2021
@BillyONeal BillyONeal deleted the identifers branch January 10, 2021 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support category:vcpkg-bug The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`) category:vcpkg-feature The issue is a new capability of the tool that doesn’t already exist and we haven’t committed info:internal This PR or Issue was filed by the vcpkg team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants