LLVM ERROR: Option 'basic' already exists!

Hi! I am getting this error when trying to import tvm and another LLVM package into the same file. I built TVM with a local installation of LLVM on Mac. I can see that the standard build instructions builds with llvm-config --ignore-libllvm --link-static, I was wondering if this error could be fixed using LLVM shared libraries, or if there is another way to get around this?