alpinestudios / oogabooga

ooga booga
Other
223 stars 247 forks source link

amx-int8 feature flag casuing build to fail compilation #32

Open ThixotropicFluid opened 1 month ago

ThixotropicFluid commented 1 month ago

I recently was attempting to get the engine running however I would get and error while comping:

C:\Program Files\LLVM\lib\clang\19\include\amxintrin.h:328:15: error: always_inline function '_tile_loadd_internal' requires target feature 'amx-int8', but would be inlined into function '__tile_loadd' that is 
compiled without support for 'amx-int8'
  328 |   dst->tile = _tile_loadd_internal(dst->row, dst->col, base, stride);
      |               ^

I found the solution was to induce the -mamx-int8 flag into build.bat, build_release.bat, and build.sh.

I assume this might be something to do with my specific computer spec, since this hasn't already been fixed. My computer specs are 11th Gen Inter i7-1165G7 Intel Integrated Graphics

Is this something that I can make a pull request for? I'm new to contributing source code and wanted to post it as an issue first.

AlexNecakov commented 2 weeks ago

i'm still seeing this compiler error on master commit 9bb5c16e0d363b1158ba74e94a016ff2b05fbdf8. introducing the -mamx-int8 does seem to fix it for me too.