From 8b68d125776c68b2fe642fdbb278ade041fc9746 Mon Sep 17 00:00:00 2001 From: Dominic Kempf <dominic.kempf@iwr.uni-heidelberg.de> Date: Thu, 27 Sep 2018 15:17:08 +0200 Subject: [PATCH] Fixups --- CMakeLists.txt | 2 -- python/CMakeLists.txt | 4 ++++ python/dune/perftool/pdelab/localoperator.py | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d26e0ab5..7cf8469e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,7 +40,5 @@ add_subdirectory(test) add_subdirectory(bin) add_subdirectory(applications) -add_executable(autotune_target EXCLUDE_FROM_ALL autotune.cc) - # finalize the dune project, e.g. generating config.h etc. finalize_dune_project(GENERATE_CONFIG_H_CMAKE) diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt index 8b6d3318..a4c8a370 100644 --- a/python/CMakeLists.txt +++ b/python/CMakeLists.txt @@ -20,3 +20,7 @@ dune_python_add_test(NAME pep8-ourcode ) add_subdirectory(test) + +# Add a dummy target to extract compiler flags for the autotune tool chain +add_executable(_autotune_target EXCLUDE_FROM_ALL _autotune.cc) +target_compile_options(_autotune_target PUBLIC -fno-strict-aliasing) diff --git a/python/dune/perftool/pdelab/localoperator.py b/python/dune/perftool/pdelab/localoperator.py index 1b49197e..3fb213c8 100644 --- a/python/dune/perftool/pdelab/localoperator.py +++ b/python/dune/perftool/pdelab/localoperator.py @@ -459,7 +459,7 @@ def generate_kernel(integrals): # Delete the cache contents and do the real thing! logger.debug('generate_kernel: visit_integrals (no dry run)') from dune.perftool.generation import delete_cache_items - delete_cache_items("kernel_default or member") + delete_cache_items("kernel_default") for integral in integrals: visit_integral(integral) -- GitLab