Remove the redundant flags
This commit is contained in:
parent
2a72c74a82
commit
4cb3b97845
1 changed files with 0 additions and 2 deletions
|
|
@ -175,8 +175,6 @@ fn main() {
|
||||||
|
|
||||||
if cfg!(feature = "cuda") {
|
if cfg!(feature = "cuda") {
|
||||||
config.define("GGML_CUDA", "ON");
|
config.define("GGML_CUDA", "ON");
|
||||||
config.define("NVCC_APPEND_FLAGS", "-fPIC");
|
|
||||||
config.cxxflag("-fPIC");
|
|
||||||
config.define("CMAKE_POSITION_INDEPENDENT_CODE", "ON");
|
config.define("CMAKE_POSITION_INDEPENDENT_CODE", "ON");
|
||||||
config.define("CMAKE_CUDA_FLAGS", "-Xcompiler=-fPIC");
|
config.define("CMAKE_CUDA_FLAGS", "-Xcompiler=-fPIC");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue