Commit 2ad4488c authored by Nicolas Denoyelle's avatar Nicolas Denoyelle Committed by Swann Perarnau
Browse files

[refactor] reorganize repository

- create one directory per building block in src and include
- keep one directory for tests, \
  otherwise automake make them "test suites"
- move to AC_OPENMP, which is from autoconf 2.62 (2008)
parent 2b0d9e28
Pipeline #6871 passed with stage
in 9 minutes and 41 seconds
......@@ -8,7 +8,7 @@
* SPDX-License-Identifier: BSD-3-Clause
*******************************************************************************/
#include <aml.h>
#include "aml.h"
#include <assert.h>
/*******************************************************************************
......
......@@ -8,7 +8,7 @@
* SPDX-License-Identifier: BSD-3-Clause
*******************************************************************************/
#include <aml.h>
#include "aml.h"
#include <assert.h>
#include <sys/mman.h>
......
......@@ -9,7 +9,7 @@
*******************************************************************************/
#include <assert.h>
#include <aml.h>
#include "aml.h"
#include <sys/mman.h>
/*******************************************************************************
......
......@@ -9,7 +9,7 @@
*******************************************************************************/
#include <assert.h>
#include <aml.h>
#include "aml.h"
#include <sys/mman.h>
#include <numaif.h>
......
......@@ -9,7 +9,7 @@
*******************************************************************************/
#include <assert.h>
#include <aml.h>
#include "aml.h"
#include <fcntl.h>
#include <sys/mman.h>
#include <sys/stat.h>
......
......@@ -8,7 +8,7 @@
* SPDX-License-Identifier: BSD-3-Clause
*******************************************************************************/
#include <aml.h>
#include "aml.h"
#include <assert.h>
#include <sys/mman.h>
......@@ -144,3 +144,4 @@ int aml_area_posix_destroy(struct aml_area *data)
assert(data != NULL);
return 0;
}
AM_CFLAGS=-I$(top_srcdir)/jemalloc/include -I$(top_srcdir)/include
AM_CPPFLAGS=$(AM_CFLAGS)
noinst_LTLIBRARIES=libamlarena.la
libamlarena_la_SOURCES=\
arena.c\
arena_jemalloc.c
libamlarena_la_CFLAGS=$(AM_CFLAGS)
......@@ -8,7 +8,7 @@
* SPDX-License-Identifier: BSD-3-Clause
*******************************************************************************/
#include <aml.h>
#include "aml.h"
#include <assert.h>
/*******************************************************************************
......
......@@ -9,8 +9,8 @@
*******************************************************************************/
#include <assert.h>
#include <aml.h>
#include <jemalloc/jemalloc-aml.h>
#include "aml.h"
#include "jemalloc/jemalloc-aml.h"
#include <sys/mman.h>
/*******************************************************************************
......
AM_CFLAGS=-I$(top_srcdir)/include
AM_CPPFLAGS=$(AM_CFLAGS)
noinst_LTLIBRARIES=libamlbinding.la
libamlbinding_la_SOURCES=\
binding.c \
binding_single.c \
binding_interleave.c
libamlbinding_la_CFLAGS=$(AM_CFLAGS)
......@@ -8,7 +8,7 @@
* SPDX-License-Identifier: BSD-3-Clause
*******************************************************************************/
#include <aml.h>
#include "aml.h"
#include <assert.h>
/*******************************************************************************
......
......@@ -8,7 +8,7 @@
* SPDX-License-Identifier: BSD-3-Clause
*******************************************************************************/
#include <aml.h>
#include "aml.h"
#include <assert.h>
/*******************************************************************************
......
......@@ -8,7 +8,7 @@
* SPDX-License-Identifier: BSD-3-Clause
*******************************************************************************/
#include <aml.h>
#include "aml.h"
#include <assert.h>
/*******************************************************************************
......
AM_CFLAGS=-I$(top_srcdir)/include
AM_CPPFLAGS=$(AM_CFLAGS)
noinst_LTLIBRARIES=libamldma.la
libamldma_la_SOURCES=\
dma.c \
dma_linux_par.c \
dma_linux_seq.c
libamldma_la_CFLAGS=$(AM_CFLAGS)
......@@ -8,7 +8,7 @@
* SPDX-License-Identifier: BSD-3-Clause
*******************************************************************************/
#include <aml.h>
#include "aml.h"
#include <assert.h>
/*******************************************************************************
......
......@@ -8,7 +8,7 @@
* SPDX-License-Identifier: BSD-3-Clause
*******************************************************************************/
#include <aml.h>
#include "aml.h"
#include <assert.h>
#include <errno.h>
#include <sys/mman.h>
......
......@@ -8,7 +8,7 @@
* SPDX-License-Identifier: BSD-3-Clause
*******************************************************************************/
#include <aml.h>
#include "aml.h"
#include <assert.h>
#include <errno.h>
#include <sys/mman.h>
......
AM_CFLAGS=-I$(top_srcdir)/include
AM_CPPFLAGS=$(AM_CFLAGS)
noinst_LTLIBRARIES=libamlscratch.la
libamlscratch_la_SOURCES=\
scratch.c \
scratch_seq.c \
scratch_par.c
libamlscratch_la_CFLAGS=$(AM_CFLAGS)
......@@ -8,7 +8,7 @@
* SPDX-License-Identifier: BSD-3-Clause
*******************************************************************************/
#include <aml.h>
#include "aml.h"
#include <assert.h>
/*******************************************************************************
......
......@@ -8,7 +8,7 @@
* SPDX-License-Identifier: BSD-3-Clause
*******************************************************************************/
#include <aml.h>
#include "aml.h"
#include <assert.h>
/*******************************************************************************
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment