-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
build a lib with specified version #12321
Comments
Confirmed, but I think this is just a display issue. |
Just a
Hi, it seem not that. |
Misuse(close the issue) |
|
Oh, do you mean the buildtree? And I try reset it with --hard option, |
@ras0219 @ras0219-msft Could you take a look? Thanks. |
@alimai the correct command to run is probably: $ git checkout <copied commit> -- ports/<port-name> This will check out only the specified port from the tree. You can also do something like:
and then proceed to use |
Thanks. It works now. |
I try to build a lib with specified version, and find a suggestion as following in #11768 :
Originally posted by @timautry in #11768 (comment)
I do a test with the zlib(The latest version of zlib in vcpkg is 1.2.11-6),
Vcpkg still build the latest version of module when I following the suggestion of @timautry timautry.
version date vcpkg commit
1.2.11-5 2019-06-15 18b029a
1.2.11-3 2018-08-30 ab54bfa
1.2.11-2 2017-09-23 67e876c
1.2.11-1 2017-09-09 26516fe
1.2.11 2017-01-17 0d50c67
1.2.10 2017-01-04 6a220ed
1.2.8 2016-11-08 1808d46
[note: It seems the current version should be 1.2.11-5 now.]
Computing installation plan...
The following packages will be built and installed:
zlib[core]:x64-windows
Downloading powershell-core...
Extracting powershell-core...
Starting package 1/1: zlib:x64-windows
Building package zlib[core]:x64-windows...
-- Downloading http://www.zlib.net/zlib-1.2.11.tar.gz...
-- Extracting source E:/vcpkg/downloads/zlib1211.tar.gz
-- Applying patch cmake_dont_build_more_than_needed.patch
-- Using source at E:/vcpkg/buildtrees/zlib/src/1.2.11-deec42f53b.clean
-- Configuring x64-windows
-- Building x64-windows-rel
-- Installing: E:/vcpkg/packages/zlib_x64-windows/share/zlib/copyright
-- Performing post-build validation
-- Performing post-build validation done
Installing package zlib[core]:x64-windows...
Installing package zlib[core]:x64-windows... done
zlib:x64-windows 1.2.11-6 A compression library
The installed version is still 1.2.11-6, is there any thing wrong?
The text was updated successfully, but these errors were encountered: