Browse Source

Merge pull request #10 from xianyi/develop

rebase
tags/v0.3.14^2
Martin Kroeker GitHub 5 years ago
parent
commit
fe71887b68
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 1 deletions
  1. +24
    -0
      .drone.yml
  2. +1
    -1
      driver/others/memory.c

+ 24
- 0
.drone.yml View File

@@ -190,3 +190,27 @@ steps:
- make -C ctest $COMMON_FLAGS
- make -C utest $COMMON_FLAGS
- make -C cpp_thread_test dgemm_tester
---
kind: pipeline
name: arm64_gcc10

platform:
os: linux
arch: arm64

steps:
- name: Build and Test
image: ubuntu:20.04
environment:
CC: gcc-10
FC: gfortran-10
COMMON_FLAGS: 'TARGET=ARMV8 DYNAMIC_ARCH=1'
commands:
- echo "MAKE_FLAGS:= $COMMON_FLAGS"
- apt-get update -y
- apt-get install -y make $CC gfortran-10 perl python g++
- $CC --version
- make QUIET_MAKE=1 $COMMON_FLAGS
- make -C utest $COMMON_FLAGS
- make -C test $COMMON_FLAGS

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

@@ -1241,7 +1241,7 @@ UNLOCK_COMMAND(&alloc_lock);

func = &memoryalloc[0];

while ((func != NULL) && (map_address == (void *) -1)) {
while ((*func != NULL) && (map_address == (void *) -1)) {

map_address = (*func)((void *)base_address);



Loading…
Cancel
Save