File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -194,3 +194,6 @@ In chronological order:
194194
195195* PingTouGe Semiconductor Co., Ltd.
196196 * [ 2020-10] Add RISC-V Vector (0.7.1) support. Optimize BLAS kernels for Xuantie C910
197+
198+ * River Dillon < oss@outerpassage.net >
199+ * [ 2021-07-10] fix compilation with musl libc
Original file line number Diff line number Diff line change @@ -1702,7 +1702,6 @@ inline int atoi(const char *str) { return 0; }
17021702#include <sys/sysinfo.h>
17031703#include <sched.h>
17041704#include <errno.h>
1705- #include <linux/unistd.h>
17061705#include <sys/syscall.h>
17071706#include <sys/time.h>
17081707#include <sys/resource.h>
Original file line number Diff line number Diff line change @@ -99,5 +99,6 @@ typedef int blasint;
9999
100100/* Inclusion of Linux-specific header is needed for definition of cpu_set_t. */
101101#ifdef OPENBLAS_OS_LINUX
102+ #define _GNU_SOURCE
102103#include <sched.h>
103104#endif
You can’t perform that action at this time.
0 commit comments