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
parent
commit
be1a42507c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 1 deletions
  1. +3
    -0
      CONTRIBUTORS.md
  2. +0
    -1
      driver/others/memory.c
  3. +1
    -0
      openblas_config_template.h

+ 3
- 0
CONTRIBUTORS.md View File

@@ -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

+ 0
- 1
driver/others/memory.c View File

@@ -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>


+ 1
- 0
openblas_config_template.h View File

@@ -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

Loading…
Cancel
Save