ROCm / clr

MIT License
104 stars 50 forks source link

Fix compilation errors with musl libc #83

Open AngryLoki opened 6 months ago

AngryLoki commented 6 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 3 months ago

@gargrahul , could you check this, please?