MehdiChinoune opened a new issue, #39928:
URL: https://github.com/apache/arrow/issues/39928
### Describe the enhancement requested
LLVM-18 will be released soon. Maybe consider supporting it
It fails even I added 18.1 as supported
```diff
--- a/cpp/CMakeLists.txt
+++ b/cpp/CMakeLists.txt
@@ -152,6 +152,7 @@
set(BUILD_SUPPORT_DIR "${CMAKE_SOURCE_DIR}/build-support")
set(ARROW_LLVM_VERSIONS
+ "18.1"
"17.0"
"16.0"
"15.0"
```
this is the failure:
```
[756/846] Building CXX object
src/gandiva/CMakeFiles/gandiva_shared.dir/engine.cc.obj
FAILED: src/gandiva/CMakeFiles/gandiva_shared.dir/engine.cc.obj
C:\msys64\ucrt64\bin\g++.exe -DARROW_HAVE_RUNTIME_AVX2
-DARROW_HAVE_RUNTIME_BMI2 -DARROW_HAVE_RUNTIME_SSE4_2 -DARROW_HAVE_SSE4_2
-DARROW_WITH_RE2 -DARROW_WITH_TIMING_TESTS -DARROW_WITH_UTF8PROC
-DAWS_AUTH_USE_IMPORT_EXPORT -DAWS_CAL_USE_IMPORT_EXPORT
-DAWS_CHECKSUMS_USE_IMPORT_EXPORT -DAWS_COMMON_USE_IMPORT_EXPORT
-DAWS_COMPRESSION_USE_IMPORT_EXPORT -DAWS_CRT_CPP_USE_IMPORT_EXPORT
-DAWS_EVENT_STREAM_USE_IMPORT_EXPORT -DAWS_HTTP_USE_IMPORT_EXPORT
-DAWS_IO_USE_IMPORT_EXPORT -DAWS_MQTT_USE_IMPORT_EXPORT
-DAWS_S3_USE_IMPORT_EXPORT -DAWS_SDKUTILS_USE_IMPORT_EXPORT
-DAWS_SDK_VERSION_MAJOR=1 -DAWS_SDK_VERSION_MINOR=11
-DAWS_SDK_VERSION_PATCH=247 -DAWS_USE_IO_COMPLETION_PORTS -DBOOST_ALL_DYN_LINK
-DBOOST_ALL_NO_LIB -DBOOST_USE_WINDOWS_H=1 -DGANDIVA_EXPORTING
-DUSE_IMPORT_EXPORT -DUSE_IMPORT_EXPORT=1 -DUSE_WINDOWS_DLL_SEMANTICS
-D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE
-Dgandiva_shared_EXPORTS -IC:/_/B/src/build-UCRT64-cpp/src
-IC:/_/B/src/apache-arrow-15.0.0/cpp/src -
IC:/_/B/src/apache-arrow-15.0.0/cpp/src/generated -isystem
C:/_/B/src/apache-arrow-15.0.0/cpp/thirdparty/flatbuffers/include -isystem
C:/_/B/src/apache-arrow-15.0.0/cpp/thirdparty/hadoop/include -Wno-noexcept-type
-Wno-self-move -march=nocona -msahf -mtune=generic -O2 -pipe
-Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=always
-Wa,-mbig-obj -Wall -fno-semantic-interposition -mxsave -msse4.2 -O3 -DNDEBUG
-O2 -ftree-vectorize -std=c++17 -MD -MT
src/gandiva/CMakeFiles/gandiva_shared.dir/engine.cc.obj -MF
src\gandiva\CMakeFiles\gandiva_shared.dir\engine.cc.obj.d -o
src/gandiva/CMakeFiles/gandiva_shared.dir/engine.cc.obj -c
C:/_/B/src/apache-arrow-15.0.0/cpp/src/gandiva/engine.cc
C:/_/B/src/apache-arrow-15.0.0/cpp/src/gandiva/engine.cc:65:10: fatal
error: llvm/Support/Host.h: No such file or directory
65 | #include <llvm/Support/Host.h>
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
```
### Component(s)
C++ - Gandiva
--
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]