aboutsummaryrefslogtreecommitdiffhomepage
path: root/llvm_zluda
diff options
context:
space:
mode:
Diffstat (limited to 'llvm_zluda')
-rw-r--r--llvm_zluda/build.rs2
-rw-r--r--llvm_zluda/src/lib.cpp6
2 files changed, 5 insertions, 3 deletions
diff --git a/llvm_zluda/build.rs b/llvm_zluda/build.rs
index 9660b4d..ab66e1b 100644
--- a/llvm_zluda/build.rs
+++ b/llvm_zluda/build.rs
@@ -16,6 +16,8 @@ fn main() {
let mut cmake = Config::new(r"../ext/llvm-project/llvm");
try_use_ninja(&mut cmake);
cmake
+ // It's not like we can do anything about the warnings
+ .define("LLVM_ENABLE_WARNINGS", "OFF")
// For some reason Rust always links to release MSVCRT
.define("CMAKE_MSVC_RUNTIME_LIBRARY", "MultiThreadedDLL")
.define("LLVM_ENABLE_TERMINFO", "OFF")
diff --git a/llvm_zluda/src/lib.cpp b/llvm_zluda/src/lib.cpp
index 886aa0d..072f773 100644
--- a/llvm_zluda/src/lib.cpp
+++ b/llvm_zluda/src/lib.cpp
@@ -1,7 +1,7 @@
#include <llvm-c/Core.h>
-#include "llvm/IR/IRBuilder.h"
-#include "llvm/IR/Type.h"
-#include "llvm/IR/Instructions.h"
+#include <llvm/IR/IRBuilder.h>
+#include <llvm/IR/Type.h>
+#include <llvm/IR/Instructions.h>
using namespace llvm;