An attempt at getting -fPIC in
This commit is contained in:
parent
de30f9c23d
commit
760af8859f
1 changed files with 2 additions and 0 deletions
|
|
@ -175,6 +175,8 @@ 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");
|
||||||
}
|
}
|
||||||
|
|
||||||
if cfg!(feature = "hipblas") {
|
if cfg!(feature = "hipblas") {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue