Skip to content

Hack for conda includes #60

@ubaidsk

Description

@ubaidsk

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

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;
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions