We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8f3a8fb + 6c254b2 commit 1c396f7Copy full SHA for 1c396f7
xgboost-sys/build.rs
@@ -46,6 +46,11 @@ fn main() {
46
.clang_arg(format!("-I{}", xgb_root.join("rabit/include").display()))
47
.clang_arg(format!("-I{}", xgb_root.join("dmlc-core/include").display()));
48
49
+ #[cfg(target_os = "linux")]
50
+ let bindings = bindings
51
+ .clang_arg(format!("-I/usr/include/c++/11"))
52
+ .clang_arg(format!("-I/usr/include/x86_64-linux-gnu/c++/11"));
53
+
54
#[cfg(feature = "cuda")]
55
let bindings = bindings.clang_arg("-I/usr/local/cuda/include");
56
let bindings = bindings
0 commit comments