summarylogtreecommitdiffstats
path: root/010-intel-npu-compiler-llvm-disable-atomic-check.patch
blob: 0304979283304a3852a4588b15232a5af001e7dc (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/llvm/cmake/config-ix.cmake
+++ b/llvm/cmake/config-ix.cmake
@@ -409,7 +409,7 @@ endif()
 check_symbol_exists(proc_pid_rusage "libproc.h" HAVE_PROC_PID_RUSAGE)
 
 # Define LLVM_HAS_ATOMICS if gcc or MSVC atomic builtins are supported.
-include(CheckAtomic)
+#include(CheckAtomic)
 
 if( LLVM_ENABLE_PIC )
   set(ENABLE_PIC 1)