goankur commented on PR #13572:
URL: https://github.com/apache/lucene/pull/13572#issuecomment-2264420154

   > But I think it makes the build more straightforward: it builds native as 
you expect, if you want to use different compiler set `CC` env vars etc 
differently.
   
   I still get compilation problems on Graviton 3 with these changes. I haven't 
tested on Graviton 2 but pretty sure that same issue will surface.
   
   ```
   ### Steps to reproduce on Graviton 3 box
   
   $ wget https://github.com/user-attachments/files/16449392/x86.patch.txt .
   $ git apply --include=lucene/core/build.gradle x86.patch.txt
   $ git diff
   
    .... Shows the diff has been correctly applied to lucene/core/build.gradle
   ```
   
   Compiling with `./gradlew :lucene:core:build` throws the error below
   
   ```
   > Task :lucene:core:compileDotProductSharedLibraryDotProductC FAILED
   
   FAILURE: Build failed with an exception.
   
   * What went wrong:
   Execution failed for task 
':lucene:core:compileDotProductSharedLibraryDotProductC'.
   > Error while evaluating property 'compilerVersion' of task 
':lucene:core:compileDotProductSharedLibraryDotProductC'.
      > No tool chain is available to build for platform 'linux_aarch64':
          - Tool chain 'visualCpp' (Visual Studio):
              - Visual Studio is not available on this operating system.
          - Tool chain 'gcc' (GNU GCC):
              - Don't know how to build for platform 'linux_aarch64'.
          - Tool chain 'clang' (Clang):
              - Don't know how to build for platform 'linux_aarch64'.
   
   * Try:
   > Run with --stacktrace option to get the stack trace.
   > Run with --info or --debug option to get more log output.
   > Get more help at https://help.gradle.org.
   ```
   
   


-- 
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: issues-unsubscr...@lucene.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to