One needs to add their conda include paths below which is a hack.
|
std::vector<std::string> include_paths = { |
|
"include/c++/v1", |
|
"include/stddef.h", |
|
"include/__stddef_max_align_t.h", |
|
"usr/include", |
|
"mambaforge/envs", |
|
"lib/gcc", |
|
"lib/clang", |
|
"micromamba-root/envs", |
|
"micromamba/envs" |
|
}; |
|
for( std::string& path: include_paths ) { |
|
if( file_path.find(path) != std::string::npos ) { |
|
return false; |
|
} |
|
} |
One needs to add their conda include paths below which is a hack.
lc/src/lc/clang_ast_to_asr.h
Lines 1855 to 1870 in 9c855f9