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

Allow use of vcpkg for handling local dependencies #3950

Merged
merged 2 commits into from
Mar 22, 2023

Conversation

davisp
Copy link
Contributor

@davisp davisp commented Mar 8, 2023

This adds a --enable-vcpkg flag to bootstrap which allows using vcpkg to build all dependencies.

I highly recommend reviewing this PR one commit at a time as the commit that adds all the port definitions is rather large and just copied from upstream vcpkg's registry.


TYPE: IMPROVEMENT
DESC: Allow use of vcpkg for installing dependencies locally

@shortcut-integration
Copy link

This pull request has been linked to Shortcut Story #26199: Allow using vcpkg locally for all dependencies.

@davisp davisp force-pushed the pd/sc-26199/local-vcpkg-for-deps branch from 8d3e80e to 7de0fd1 Compare March 8, 2023 23:28
vcpkg.json Outdated Show resolved Hide resolved
vcpkg.json Outdated Show resolved Hide resolved
vcpkg-configuration.json Show resolved Hide resolved
vcpkg.json Show resolved Hide resolved
vcpkg.json Show resolved Hide resolved
vcpkg.json Outdated Show resolved Hide resolved
@@ -34,6 +34,7 @@ Configuration:
--help print this message
--prefix=PREFIX install files in tree rooted at PREFIX
['"${default_prefix}"']
--enable-vcpkg use vcpkg for downloading and building dependnecies
Copy link
Member

Choose a reason for hiding this comment

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

bootstrap.ps1 also needs to be updated.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't have any way to test changes here so I didn't bother attempting to write something that might or might not work. I was hoping one of our Windows dev folks would be able to add the option after this PR is merged.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll preface this with a heavy "I have no idea what I'm talking about" disclaimer, but another thing that caught my eye in the vcpkg docs was that they seemed to focus on IDEs when talking about configuring Windows projects. I still think we should add a bootstrap.ps1 option for symmetry, but I wasn't sure if it'd actually be used or if there'd be some other set of instructions for configuring IDEs.

Copy link
Member

Choose a reason for hiding this comment

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

dependnecies -> dependeNcies next time someone touches this

@davisp davisp force-pushed the pd/sc-26199/local-vcpkg-for-deps branch 3 times, most recently from c686c06 to c50965a Compare March 9, 2023 20:01
@davisp davisp force-pushed the pd/sc-26199/local-vcpkg-for-deps branch from c50965a to 3582c17 Compare March 9, 2023 20:03
This adds a `--enable-vcpkg` configuration flag to CMake that allows
developers to build all dependencies with vcpkg.
@davisp davisp force-pushed the pd/sc-26199/local-vcpkg-for-deps branch from 3582c17 to c562d9f Compare March 10, 2023 16:55
@ihnorton ihnorton requested a review from dhoke4tdb March 20, 2023 13:59
@@ -34,6 +34,7 @@ Configuration:
--help print this message
--prefix=PREFIX install files in tree rooted at PREFIX
['"${default_prefix}"']
--enable-vcpkg use vcpkg for downloading and building dependnecies
Copy link
Member

Choose a reason for hiding this comment

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

dependnecies -> dependeNcies next time someone touches this

@ihnorton ihnorton merged commit f2df175 into dev Mar 22, 2023
@ihnorton ihnorton deleted the pd/sc-26199/local-vcpkg-for-deps branch March 22, 2023 02:51
teo-tsirpanis added a commit to teo-tsirpanis/TileDB that referenced this pull request Jul 25, 2023
They were introduced in TileDB-Inc#3950 (which says it just copied them from upstream vcpkg) and have not been modified since.
teo-tsirpanis added a commit to teo-tsirpanis/TileDB that referenced this pull request Sep 19, 2023
They were introduced in TileDB-Inc#3950 (which says it just copied them from upstream vcpkg) and have not been modified since.
teo-tsirpanis added a commit to teo-tsirpanis/TileDB that referenced this pull request Nov 22, 2023
They were introduced in TileDB-Inc#3950 (which says it just copied them from upstream vcpkg) and have not been modified since.
teo-tsirpanis added a commit to teo-tsirpanis/TileDB that referenced this pull request Dec 5, 2023
They were introduced in TileDB-Inc#3950 (which says it just copied them from upstream vcpkg) and have not been modified since.
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.

None yet

3 participants