Browse Source
Merge pull request #3297 from outerpassage/develop
fix compilation with musl libc
tags/v0.3.16^2
Martin Kroeker
GitHub
4 years ago
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
4 additions and
1 deletions
-
CONTRIBUTORS.md
-
driver/others/memory.c
-
openblas_config_template.h
|
|
|
@@ -194,3 +194,6 @@ In chronological order: |
|
|
|
|
|
|
|
* PingTouGe Semiconductor Co., Ltd. |
|
|
|
* [2020-10] Add RISC-V Vector (0.7.1) support. Optimize BLAS kernels for Xuantie C910 |
|
|
|
|
|
|
|
* River Dillon <oss@outerpassage.net> |
|
|
|
* [2021-07-10] fix compilation with musl libc |
|
|
|
@@ -1702,7 +1702,6 @@ inline int atoi(const char *str) { return 0; } |
|
|
|
#include <sys/sysinfo.h> |
|
|
|
#include <sched.h> |
|
|
|
#include <errno.h> |
|
|
|
#include <linux/unistd.h> |
|
|
|
#include <sys/syscall.h> |
|
|
|
#include <sys/time.h> |
|
|
|
#include <sys/resource.h> |
|
|
|
|
|
|
|
@@ -99,5 +99,6 @@ typedef int blasint; |
|
|
|
|
|
|
|
/* Inclusion of Linux-specific header is needed for definition of cpu_set_t. */ |
|
|
|
#ifdef OPENBLAS_OS_LINUX |
|
|
|
#define _GNU_SOURCE |
|
|
|
#include <sched.h> |
|
|
|
#endif |