[vcpkg-cmake] Update parallel vcpkg_cmake_configure#21507
[vcpkg-cmake] Update parallel vcpkg_cmake_configure#21507BillyONeal merged 8 commits intomicrosoft:masterfrom
Conversation
|
Should we also fix |
I tend to not change it:
|
|
i would really like separate logs for each config if it is possible. |
Understood. However, this wasn't the case for windows before. |
Yeah I know. Windows always puts everything in the same file which is kind of annoying and harder to debug in my view.
|
I don't see a simple way to do that portably in the ninja rule, for stdout and stderr. OTOH the single config log does have some advantages:
|
|
|
bcg729:x64-linux: source write, fix in #21516. |
I'm also curious how you would think about parallelizing the build step. If this is possible at all, via |
The |
|
This PR is twofold, a) fixing the working directory for parallel configure, and b) applying parallel configure outside windows. Since it rebuilds a lot of ports, it should be decided if b) shall be left in this PR. |
|
Waiting for test results. |
|
This is now expensively rebuilding against an old version of master. Better merge HEAD of master, to fetch the bcg729 update. |
|
@dg0yt Fine, so please merge to master to retrigger the ci test. |
|
hpx regression was fixed in #21617. wavelib:arm-uwp: |
|
wavelib has parallel source writes for test executables, #21671. |
In This error is not related to this PR: python3 uses cmake only for windows incl. uwp. The osx build uses configure+make. |
If the host is x86, assume that msbuild is requested for windows. If msbuild is requested and suitable, use it. Else if a particular generator is requested, use it. Else if ninja is available, use it. Else on non-windows host, use "Unix Makefiles".
There was a problem hiding this comment.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout de176433e9a8769eed0e43d61758f4cdc1dc6e20 -- versions
./vcpkg x-add-version --allDiff
diff --git a/versions/baseline.json b/versions/baseline.json
index 471b840..5d0b378 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -4741,7 +4741,7 @@
"port-version": 1
},
"ms-gltf": {
- "baseline": "2022-06-28",
+ "baseline": "2022-07-18",
"port-version": 0
},
"ms-gsl": {
@@ -7421,7 +7421,7 @@
"port-version": 0
},
"vcpkg-cmake": {
- "baseline": "2022-07-02",
+ "baseline": "2022-07-18",
"port-version": 0
},
"vcpkg-cmake-config": {
diff --git a/versions/m-/ms-gltf.json b/versions/m-/ms-gltf.json
index 87af4d8..69b11e9 100644
--- a/versions/m-/ms-gltf.json
+++ b/versions/m-/ms-gltf.json
@@ -1,5 +1,10 @@
{
"versions": [
+ {
+ "git-tree": "1573e63635b8505134e0ecddcb2f0ab76874fb54",
+ "version-date": "2022-07-18",
+ "port-version": 0
+ },
{
"git-tree": "a9a91635168ea77faa39adb73b27483797fa8967",
"version-date": "2022-06-28",
diff --git a/versions/v-/vcpkg-cmake.json b/versions/v-/vcpkg-cmake.json
index daad9b9..a329f1d 100644
--- a/versions/v-/vcpkg-cmake.json
+++ b/versions/v-/vcpkg-cmake.json
@@ -1,5 +1,10 @@
{
"versions": [
+ {
+ "git-tree": "a7b618b7782f3c841d7fd2d84a6ba3619815362a",
+ "version-date": "2022-07-18",
+ "port-version": 0
+ },
{
"git-tree": "94abbd71a7fe495e883b13c077312f6d419cbc41",
"version-date": "2022-07-02",|
I will update the version database when the PR received preliminary acceptance. |
ports/ms-gltf/vcpkg.json
Outdated
There was a problem hiding this comment.
should bump port version, not version-date
There was a problem hiding this comment.
That's what I would have done for other version schemes.
There was a problem hiding this comment.
If the content of the stuff we install changed, then the version-date should be updated. If only maintainer improvement stuff in the port changed, port-version should be bumped.
|
It is nice to know that there is a micro issue with the ms-gltf version update. But before burning more CI time, I need feedback on the core part. |
There was a problem hiding this comment.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 8ff168270bc5977384b008bec6e879e15089d850 -- versions
./vcpkg x-add-version --allDiff
diff --git a/versions/baseline.json b/versions/baseline.json
index 0114230..89c2864 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -4742,7 +4742,7 @@
},
"ms-gltf": {
"baseline": "2022-06-28",
- "port-version": 0
+ "port-version": 1
},
"ms-gsl": {
"baseline": "4.0.0",
@@ -7421,7 +7421,7 @@
"port-version": 0
},
"vcpkg-cmake": {
- "baseline": "2022-07-02",
+ "baseline": "2022-07-18",
"port-version": 0
},
"vcpkg-cmake-config": {
diff --git a/versions/m-/ms-gltf.json b/versions/m-/ms-gltf.json
index 87af4d8..82b9a8b 100644
--- a/versions/m-/ms-gltf.json
+++ b/versions/m-/ms-gltf.json
@@ -1,5 +1,10 @@
{
"versions": [
+ {
+ "git-tree": "b189e4d23ebe85437573b386d94b06b3f9fb6238",
+ "version-date": "2022-06-28",
+ "port-version": 1
+ },
{
"git-tree": "a9a91635168ea77faa39adb73b27483797fa8967",
"version-date": "2022-06-28",
diff --git a/versions/v-/vcpkg-cmake.json b/versions/v-/vcpkg-cmake.json
index daad9b9..a329f1d 100644
--- a/versions/v-/vcpkg-cmake.json
+++ b/versions/v-/vcpkg-cmake.json
@@ -1,5 +1,10 @@
{
"versions": [
+ {
+ "git-tree": "a7b618b7782f3c841d7fd2d84a6ba3619815362a",
+ "version-date": "2022-07-18",
+ "port-version": 0
+ },
{
"git-tree": "94abbd71a7fe495e883b13c077312f6d419cbc41",
"version-date": "2022-07-02",
BillyONeal
left a comment
There was a problem hiding this comment.
I note that there is a preexisting issue related to vcpkg_find_acquire_program and FORCE_SYSTEM_BINARIES I did not comment on here since it's unrelated to this improvement. (And I don't think other reviewers should block for that either)
|
Thanks for making parallelism work in more places:) |
|
Now I may turn to |
do/test it outside of that function ;) Make a script port for it. |
What does your PR fix?
Enables parallel cmake whenever ninja is available (non-windows hosts, system Ninja).
Adds "Unix Makefiles" as fallback generator for non-Windows system.
Establishs this order for generator selection:
VCPKG_FORCE_SYSTEM_BINARIESis set, try to find Ninja viafind_program.Which triplets are supported/not supported? Have you updated the CI baseline?
all, no
Does your PR follow the maintainer guide?
yes
If you have added/updated a port: Have you run
./vcpkg x-add-version --alland committed the result?incomplete