ROCm / clr

MIT License
89 stars 46 forks source link

Fix compilation errors with musl libc #83

Open AngryLoki opened 4 months ago

AngryLoki commented 4 months ago
  1. According to POSIX specification, basename(3) belongs to libgen.h[1]
  2. __cpu_mask is an internal type of glibc's cpu_set implementation, not part of the POSIX specification, so musl does not support it too.

[1] https://man7.org/linux/man-pages/man3/basename.3.html

AngryLoki commented 1 month ago

@gargrahul , could you check this, please?