Skip to content
Snippets Groups Projects
Commit 19bf9228 authored by RafaeNoor's avatar RafaeNoor
Browse files

Adding check for empty includes in hpvm-clang

parent b3c536a6
No related branches found
No related tags found
No related merge requests found
......@@ -237,7 +237,7 @@ def hpvm_c_to_ll(
std: str = None, # --std=c++11
) -> List[str]:
includes = (extra_includes or []) + INCLUDE_DIRS
includes_s = [f"-I{path}" for path in includes]
includes_s = [f"-I{path}" for path in includes if path != ""]
macros = [f"-D{macro}" for macro in (macros or [])]
flags = [f"-f{flg}" for flg in (flags or [])]
if std:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment