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

   Currently, when we build Velox with tests on
   
   ./dev/buildbundle-veloxbe.sh --build_type=Debug --build_tests=ON 
--enable_gcs=ON --enable_hdfs=ON --build_velox_tests=ON --spark_version=3.5
   
   The tests fail to build with the following error
   
   CMake Error at velox/buffer/tests/CMakeLists.txt:18 (target_link_libraries):
     Target "velox_buffer_test" links to:
   
       GTest::gmock
   
     but the target was not found.  Possible reasons include:
   
       * There is a typo in the target name.
       * A find_package call is missing for an IMPORTED target.
       * An ALIAS target is missing.
   
   I reinstalled googletest as well, but it still couldn't resolve gmock. I was 
able to get it working after using the BUNDLED GTest.
   ## What changes were proposed in this pull request?
   
   Set GTest_SOURCE=BUNDLED
   
   ## How was this patch tested?
   
   Existing UTs and Build pipelines
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to