diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2019-08-28 14:16:52 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2019-08-28 14:16:52 +0200 |
| commit | 6da8769acff639f418b165fd729c412495024836 (patch) | |
| tree | 3dc268eb70b27caa56a5038ade5c995f800abd3c | |
| parent | ae0680f8fdd4de34fc85bea869699535f7abf0b9 (diff) | |
| download | allocbench-6da8769acff639f418b165fd729c412495024836.tar.gz allocbench-6da8769acff639f418b165fd729c412495024836.zip | |
exclude aligned_alloc from SuperMalloc build
| -rw-r--r-- | src/allocators/SuperMalloc/remove_faulty_aligned_alloc_test.patch | 13 | ||||
| -rw-r--r-- | src/allocators/supermalloc.py | 1 |
2 files changed, 14 insertions, 0 deletions
diff --git a/src/allocators/SuperMalloc/remove_faulty_aligned_alloc_test.patch b/src/allocators/SuperMalloc/remove_faulty_aligned_alloc_test.patch new file mode 100644 index 0000000..dc7f7c4 --- /dev/null +++ b/src/allocators/SuperMalloc/remove_faulty_aligned_alloc_test.patch @@ -0,0 +1,13 @@ +diff --git a/Makefile.include b/Makefile.include +index bb3cef3..09ee7eb 100644 +--- a/Makefile.include ++++ b/Makefile.include +@@ -37,7 +37,7 @@ default: tests + #lib: $(LIB)/libsupermalloc.so + #.PHONY: lib + +-TESTS = aligned_alloc calloc posix_memalign $(UNITTESTS) test-malloc_test new-malloc-test malloc-test-fixed-work test22 cache-index madvise-small test38 test-no-overlaps #unit-timing ++TESTS = calloc posix_memalign $(UNITTESTS) test-malloc_test new-malloc-test malloc-test-fixed-work test22 cache-index madvise-small test38 test-no-overlaps #unit-timing + TESTS_IN_DIR = $(patsubst %, $(BLD)/%, $(TESTS)) + + LDFLAGS += -ldl diff --git a/src/allocators/supermalloc.py b/src/allocators/supermalloc.py index 0c4040b..b895983 100644 --- a/src/allocators/supermalloc.py +++ b/src/allocators/supermalloc.py @@ -36,6 +36,7 @@ class SuperMalloc(Allocator): kwargs["LD_PRELOAD"] = "{srcdir}/release/lib/libsupermalloc.so" kwargs["build_cmds"] = ["cd {srcdir}/release; make", "mkdir -p {dir}"] + kwargs["patches"] = ["{patchdir}/remove_faulty_aligned_alloc_test.patch"] super().__init__(name, **kwargs) |
