Skip to content

Commit

Permalink
modified: build.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
jvo203 committed Jan 7, 2019
1 parent a9c91ab commit 003f054
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
12 changes: 1 addition & 11 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fn main() {
cfg.file(*s);
}
cfg.compile("spmd");
//ispc::compile_library("ispc", &["src/fits.ispc"]);

// Tell cargo to tell rustc to link the ISPC object file turned into a static library
//println!("cargo:rustc-link-search=native=native");
//println!("cargo:rustc-link-lib=static=fits");
Expand All @@ -23,9 +23,6 @@ fn main() {
println!("cargo:rustc-link-lib=yuv");
//println!("cargo:rustc-link-lib=x265");

//println!("cargo:rustc-link-lib=stdc++");//causes problems on macOS (cannot be found!)
//println!("cargo:rustc-link-lib=numa");//causes problems on macOS (cannot be found!)

let libs = metadeps::probe().unwrap();
let x265 = libs.get("x265").unwrap();

Expand Down Expand Up @@ -69,13 +66,6 @@ fn main() {
.clang_args(["-x", "c++", "-std=c++11"].iter());
//.enable_cxx_namespaces()

/*let yuv = libs.get("yuv").unwrap();
let headers = yuv.include_paths.clone();
for header in headers {
builder = builder.clang_arg("-I").clang_arg(header.to_str().unwrap());
}*/

// Finish the builder and generate the bindings.
let bindings = builder
.generate()
Expand Down
4 changes: 0 additions & 4 deletions native/.gitignore

This file was deleted.

0 comments on commit 003f054

Please sign in to comment.