Skip to content

[bde] update to 4.36.0.0#50283

Closed
jiayuehua wants to merge 9 commits intomicrosoft:masterfrom
jiayuehua:bde
Closed

[bde] update to 4.36.0.0#50283
jiayuehua wants to merge 9 commits intomicrosoft:masterfrom
jiayuehua:bde

Conversation

@jiayuehua
Copy link
Copy Markdown
Contributor

  • Changes comply with the maintainer guide
  • SHA512s are updated for each updated download
  • The "supports" clause reflects platforms that may be fixed by this new version
  • Any fixed CI baseline entries are removed from that file.
  • Any patches that are no longer applied are deleted from the port's directory.
  • The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
  • Only one version is added to each modified port's versions file.

Copy link
Copy Markdown
Contributor

@JavierMatosD JavierMatosD left a comment

Choose a reason for hiding this comment

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

Is this port vendoring pcre and ryu?

@JavierMatosD JavierMatosD marked this pull request as draft March 4, 2026 16:28
@BillyONeal
Copy link
Copy Markdown
Member

Is this port vendoring pcre and ryu?

Yes.

bde:arm64-linux=skip # conflict https://github.com/microsoft/vcpkg/pull/32645

In #32645 we said we would wait for "some time" then proceed to deindex if it wasn't fixed...

It's been several years, should we do that?

BillyONeal added a commit to BillyONeal/vcpkg that referenced this pull request Mar 4, 2026
In 2023 in microsoft#32645 we told Bloomberg folks if the vendored dependency problems were not fixed after "some time" we would have to move forward with deindexing. It's been 3 years which seems like "some time". (This was brought to our attention again in microsoft#50283 )

I believe BDE was not tested on any platforms and the only reason it wasn't =skip everywhere is that the supports clause excluded some.

We would be happy to return BDE if someone wants to reintroduce it with vendored/conflicting library dependencies removed.
@SunBlack SunBlack mentioned this pull request Mar 4, 2026
7 tasks
-DCMAKE_CXX_STANDARD_REQUIRED=ON
-DCMAKE_CXX_EXTENSIONS=OFF
-DBBS_BUILD_SYSTEM=1
"-DBdeBuildSystem_DIR:PATH=${TOOLS_PATH}/BdeBuildSystem"
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.

Suggested change
"-DBdeBuildSystem_DIR:PATH=${TOOLS_PATH}/BdeBuildSystem"
-DBDE_USE_EXTERNAL_PCRE2

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.

Correct

vcpkg_cmake_install()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
list(APPEND SUBPACKAGES "ryu" "inteldfp" "pcre2" "s_baltst" "bsl" "bdl" "bal")
list(APPEND SUBPACKAGES "inteldfp" "pcre2" "s_baltst" "bsl" "bbryu" "bdl" "bbl" "bal")
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.

Suggested change
list(APPEND SUBPACKAGES "inteldfp" "pcre2" "s_baltst" "bsl" "bbryu" "bdl" "bbl" "bal")
list(APPEND SUBPACKAGES "inteldfp" "s_baltst" "bsl" "bbryu" "bdl" "bbl" "bal")

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.

Correct.

@hallfox
Copy link
Copy Markdown
Contributor

hallfox commented Mar 5, 2026

The changes suggested so far should remove pcre2 vendoring. We should be able to make bbryu installation files not conflict with vcpkg's ryu.

@hallfox
Copy link
Copy Markdown
Contributor

hallfox commented Mar 5, 2026

I have opened a PR to @jiayuehua's branch with all the fixes to remove the vendored pcre2. This version of bde installs ryu headers under a bbryu prefix in the installation path (ryu in vcpkg installs headers under a similar ryu prefix.) @BillyONeal is that sufficient to update this port? Thanks.

@jiayuehua
Copy link
Copy Markdown
Contributor Author

jiayuehua commented Mar 6, 2026

@hallfox should also add a patch that remove vendoring intel decimal floating point library and use vcpkg'port intelrdfpmathlib instead.

you can create a new pr branch base on this pr so that you can see ci error report immediately.

@jiayuehua
Copy link
Copy Markdown
Contributor Author

ci report error :
CMake Error at /mnt/vcpkg-ci/b/bde/src/4.36.0.0-7b18fb41e3.clean/BdeBuildSystem/BdeImportPkgConfigTargets.cmake:231 (message):
Cannot find libpcre2-8.pc file in these paths:
/usr/local/lib/x86_64-linux-gnu/pkgconfig /usr/local/lib/pkgconfig
/usr/local/share/pkgconfig /usr/lib/x86_64-linux-gnu/pkgconfig
/usr/lib/pkgconfig /usr/share/pkgconfig
/usr/local/lib/x86_64-linux-gnu/pkgconfig /usr/local/lib/pkgconfig
/usr/local/share/pkgconfig /usr/lib/x86_64-linux-gnu/pkgconfig
/usr/lib/pkgconfig /usr/share/pkgconfig

@hallfox hallfox mentioned this pull request Mar 6, 2026
7 tasks
@jiayuehua jiayuehua closed this Mar 7, 2026
@jiayuehua jiayuehua deleted the bde branch March 7, 2026 00:13
@BillyONeal
Copy link
Copy Markdown
Member

I have opened a PR to @jiayuehua's branch with all the fixes to remove the vendored pcre2. This version of bde installs ryu headers under a bbryu prefix in the installation path (ryu in vcpkg installs headers under a similar ryu prefix.) @BillyONeal is that sufficient to update this port? Thanks.

@hallfox

Locally, you can test with:

vcpkg install ryu pcre
vcpkg install bde

which will ensure conflicting files aren't being installed. To submit something that works to us, also edit ci.baseline.txt and ci.feature.baseline.txt and remove the bde =skips and fix what the build lab comes back with.

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