You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gluten.apache.org by "acvictor (via GitHub)" <gi...@apache.org> on 2025/01/14 10:58:06 UTC

[PR] [CORE] Remove cmake version overwrite in vcpkg tool metadata file [incubator-gluten]

acvictor opened a new pull request, #8530:
URL: https://github.com/apache/incubator-gluten/pull/8530

   ## What changes were proposed in this pull request?
   
   The latest release of vcpkg has migrated metadata from XML to JSON https://github.com/microsoft/vcpkg-tool/releases/tag/2025-01-11. `init.sh` will fail with `sed: can't read /Gluten/dev/vcpkg/.vcpkg/scripts/vcpkgTools.xml: No such file or directory`. 
   
   Additionally, the version of cmake is 3.30.1 and does not need to be manually updated https://github.com/microsoft/vcpkg/blob/master/scripts/vcpkg-tools.json#L64. This PR will fix the build issue.
   
   ## How was this patch tested?
   vcpkg build.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org


Re: [PR] [GLUTEN-8531] Remove cmake version overwrite in vcpkg tool metadata file [incubator-gluten]

Posted by "acvictor (via GitHub)" <gi...@apache.org>.
acvictor commented on PR #8530:
URL: https://github.com/apache/incubator-gluten/pull/8530#issuecomment-2596002857

   > @acvictor, I also feel that this fix is not necessary if we are still using an old vcpkg release.
   
   Yes, it will break unless Gluten moves to a more recent version. Will shelve it for then :)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org


Re: [PR] [GLUTEN-8531] Remove cmake version overwrite in vcpkg tool metadata file [incubator-gluten]

Posted by "acvictor (via GitHub)" <gi...@apache.org>.
acvictor commented on PR #8530:
URL: https://github.com/apache/incubator-gluten/pull/8530#issuecomment-2590427680

   > thanks @acvictor for the fix, LGTM, can we know why before we pin cmake version to `3.28.3` instead latest cmake version or 3.30.1 ? @zhztheplayer @zhouyuan ?
   
   This was the commit that added it https://github.com/apache/incubator-gluten/pull/5842/


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org


Re: [PR] [GLUTEN-8531] Remove cmake version overwrite in vcpkg tool metadata file [incubator-gluten]

Posted by "acvictor (via GitHub)" <gi...@apache.org>.
acvictor commented on PR #8530:
URL: https://github.com/apache/incubator-gluten/pull/8530#issuecomment-2591635582

   > > thanks @acvictor for the fix, LGTM, can we know why before we pin cmake version to `3.28.3` instead latest cmake version or 3.30.1 ? @zhztheplayer @zhouyuan ?
   > 
   > Hi @acvictor @gaoyangxiaozhu
   > 
   > The idea is we are trying to align with Velox requirements for CMake: https://github.com/facebookincubator/velox/blob/main/CMakeLists.txt#L14
   > 
   > For VCPKG gluten is stick to use the old release `2023.10.19` and we only overwrite necessary components with newer release. The issue is several components need to be patched if we bump to recent release https://github.com/apache/incubator-gluten/blob/main/dev/vcpkg/init.sh#L56
   
   What needs to be patched? I was building with vcpkg master branch and saw no issues.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org


Re: [PR] [GLUTEN-8531] Remove cmake version overwrite in vcpkg tool metadata file [incubator-gluten]

Posted by "zhouyuan (via GitHub)" <gi...@apache.org>.
zhouyuan commented on PR #8530:
URL: https://github.com/apache/incubator-gluten/pull/8530#issuecomment-2591344091

   
   
   > thanks @acvictor for the fix, LGTM, can we know why before we pin cmake version to `3.28.3` instead latest cmake version or 3.30.1 ? @zhztheplayer @zhouyuan ?
   
   Hi @acvictor @gaoyangxiaozhu 
   
   The idea is we are trying to align with Velox requirements for CMake:
   https://github.com/facebookincubator/velox/blob/main/CMakeLists.txt#L14
   
   For VCPKG gluten is stick to use the old release `2023.10.19` and we only overwrite necessary components with newer release. The issue is several components need to be patched if we bump to recent release
   https://github.com/apache/incubator-gluten/blob/main/dev/vcpkg/init.sh#L56
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org


Re: [PR] [GLUTEN-8531] Remove cmake version overwrite in vcpkg tool metadata file [incubator-gluten]

Posted by "acvictor (via GitHub)" <gi...@apache.org>.
acvictor commented on PR #8530:
URL: https://github.com/apache/incubator-gluten/pull/8530#issuecomment-2590469071

   > > thanks @acvictor for the fix, LGTM, can we know why before we pin cmake version to `3.28.3` instead latest cmake version or 3.30.1 ? @zhztheplayer @zhouyuan ?
   > 
   > This was the commit that added it #5842
   
   The older vcpkg releases have this version of cmake https://github.com/microsoft/vcpkg/blob/2024.01.12/scripts/vcpkgTools.xml#32 so the manual overwrite must have been required.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org


Re: [PR] [GLUTEN-8531] Remove cmake version overwrite in vcpkg tool metadata file [incubator-gluten]

Posted by "gaoyangxiaozhu (via GitHub)" <gi...@apache.org>.
gaoyangxiaozhu commented on PR #8530:
URL: https://github.com/apache/incubator-gluten/pull/8530#issuecomment-2590178867

   thanks @acvictor for the fix, LGTM, can we know why before we pin cmake version to `3.28.3` instead latest cmake version or 3.30.1 ? @zhztheplayer @zhouyuan ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org


Re: [PR] [GLUTEN-8531] Remove cmake version overwrite in vcpkg tool metadata file [incubator-gluten]

Posted by "FelixYBW (via GitHub)" <gi...@apache.org>.
FelixYBW commented on PR #8530:
URL: https://github.com/apache/incubator-gluten/pull/8530#issuecomment-2591260114

   @PHILO-HE can you take a look?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org


Re: [PR] [CORE] Remove cmake version overwrite in vcpkg tool metadata file [incubator-gluten]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #8530:
URL: https://github.com/apache/incubator-gluten/pull/8530#issuecomment-2589611098

   <!--
     Licensed to the Apache Software Foundation (ASF) under one
     or more contributor license agreements.  See the NOTICE file
     distributed with this work for additional information
     regarding copyright ownership.  The ASF licenses this file
     to you under the Apache License, Version 2.0 (the
     "License"); you may not use this file except in compliance
     with the License.  You may obtain a copy of the License at
   
       http://www.apache.org/licenses/LICEGJ-2.0
   
     Unless required by applicable law or agreed to in writing,
     software distributed under the License is distributed on an
     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
     KIND, either express or implied.  See the License for the
     specific language governing permissions and limitations
     under the License.
   -->
   
   Thanks for opening a pull request!
   
   Could you open an issue for this pull request on Github Issues?
   
   https://github.com/apache/incubator-gluten/issues
   
   Then could you also rename ***commit message*** and ***pull request title*** in the following format?
   
       [GLUTEN-${ISSUES_ID}][COMPONENT]feat/fix: ${detailed message}
   
   See also:
   
     * [Other pull requests](https://github.com/apache/incubator-gluten/pulls/)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org


Re: [PR] [GLUTEN-8531] Remove cmake version overwrite in vcpkg tool metadata file [incubator-gluten]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #8530:
URL: https://github.com/apache/incubator-gluten/pull/8530#issuecomment-2589618829

   https://github.com/apache/incubator-gluten/issues/8531


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org


Re: [PR] [GLUTEN-8531] Remove cmake version overwrite in vcpkg tool metadata file [incubator-gluten]

Posted by "acvictor (via GitHub)" <gi...@apache.org>.
acvictor commented on PR #8530:
URL: https://github.com/apache/incubator-gluten/pull/8530#issuecomment-2589620683

   @gaoyangxiaozhu can you please review this PR?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org


Re: [PR] [GLUTEN-8531] Remove cmake version overwrite in vcpkg tool metadata file [incubator-gluten]

Posted by "zhouyuan (via GitHub)" <gi...@apache.org>.
zhouyuan commented on PR #8530:
URL: https://github.com/apache/incubator-gluten/pull/8530#issuecomment-2591719788

   > > > thanks @acvictor for the fix, LGTM, can we know why before we pin cmake version to `3.28.3` instead latest cmake version or 3.30.1 ? @zhztheplayer @zhouyuan ?
   > > 
   > > 
   > > Hi @acvictor @gaoyangxiaozhu
   > > The idea is we are trying to align with Velox requirements for CMake: https://github.com/facebookincubator/velox/blob/main/CMakeLists.txt#L14
   > > For VCPKG gluten is stick to use the old release `2023.10.19` and we only overwrite necessary components with newer release. The issue is several components need to be patched if we bump to recent release https://github.com/apache/incubator-gluten/blob/main/dev/vcpkg/init.sh#L56
   > 
   > What needs to be patched? I was building with vcpkg master branch and saw no issues.
   
   Hi,
   
   I'm not able to provide the detail errors now. In general Gluten requires some special version of libs, and these libs has its own dependencies, which is difficult to handle and may take time to check:  
   https://github.com/apache/incubator-gluten/tree/main/dev/vcpkg/ports
   
   If all features are working by simply upgrading to recent VCPKG branch, then there's no reason to stick with the old release. Will do some local tests here.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org


Re: [PR] [GLUTEN-8531] Remove cmake version overwrite in vcpkg tool metadata file [incubator-gluten]

Posted by "PHILO-HE (via GitHub)" <gi...@apache.org>.
PHILO-HE commented on PR #8530:
URL: https://github.com/apache/incubator-gluten/pull/8530#issuecomment-2595930650

   @acvictor, I also feel that this fix is not necessary if we are still using an old vcpkg release.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org


Re: [PR] [GLUTEN-8531] Remove cmake version overwrite in vcpkg tool metadata file [incubator-gluten]

Posted by "acvictor (via GitHub)" <gi...@apache.org>.
acvictor closed pull request #8530: [GLUTEN-8531] Remove cmake version overwrite in vcpkg tool metadata file
URL: https://github.com/apache/incubator-gluten/pull/8530


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org