Skip to content

Capi/au/cpuid/cpuid.h: No such file or directory #1

@chrchang

Description

@chrchang

When I try to compile libflame on a fresh Debian 11 t3.small EC2 instance, I get

Compiling src/base/flamec/main/FLA_Context.c                                    
src/base/flamec/main/FLA_Context.c:25:10: fatal error: Capi/au/cpuid/cpuid.h: No
 such file or directory                                                         
   25 | #include "Capi/au/cpuid/cpuid.h"                                        
      |          ^~~~~~~~~~~~~~~~~~~~~~~                                        
compilation terminated.                                                         

and when I try to use the precompiled libflame.a packaged in aocl-linux-gcc-5.1.0.tar.gz when linking just libblis and libflame (which worked under AOCL 4.0), I get the related

/usr/bin/ld: /home/admin/aocl/5.1.0/gcc/lib/libflame.a(FLA_Context.c.o): in function `fla_isa_init':
FLA_Context.c:(.text+0x36a): undefined reference to `au_cpuid_has_flags'
/usr/bin/ld: FLA_Context.c:(.text+0x390): undefined reference to `au_cpuid_has_flags'

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