Skip to content

Commit fe71887

Browse files
authored
Merge pull request #10 from xianyi/develop
rebase
2 parents 0cb9e9f + 10094bd commit fe71887

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

.drone.yml

+24
Original file line numberDiff line numberDiff line change
@@ -190,3 +190,27 @@ steps:
190190
- make -C ctest $COMMON_FLAGS
191191
- make -C utest $COMMON_FLAGS
192192
- make -C cpp_thread_test dgemm_tester
193+
---
194+
kind: pipeline
195+
name: arm64_gcc10
196+
197+
platform:
198+
os: linux
199+
arch: arm64
200+
201+
steps:
202+
- name: Build and Test
203+
image: ubuntu:20.04
204+
environment:
205+
CC: gcc-10
206+
FC: gfortran-10
207+
COMMON_FLAGS: 'TARGET=ARMV8 DYNAMIC_ARCH=1'
208+
commands:
209+
- echo "MAKE_FLAGS:= $COMMON_FLAGS"
210+
- apt-get update -y
211+
- apt-get install -y make $CC gfortran-10 perl python g++
212+
- $CC --version
213+
- make QUIET_MAKE=1 $COMMON_FLAGS
214+
- make -C utest $COMMON_FLAGS
215+
- make -C test $COMMON_FLAGS
216+

driver/others/memory.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1241,7 +1241,7 @@ UNLOCK_COMMAND(&alloc_lock);
12411241

12421242
func = &memoryalloc[0];
12431243

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

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

0 commit comments

Comments
 (0)