diff --git a/kernel/meson.build b/kernel/meson.build index d6c418b7c..3686efeb4 100644 --- a/kernel/meson.build +++ b/kernel/meson.build @@ -322,6 +322,7 @@ base_kops = [ }, }, }, + # TODO: Handle the i*amax style {'base': 'axpby', 'modes': {'s': {'dir': 'arm', 'kernel': 'axpby.c', 'exts': ['_k']}, 'd': {'dir': 'arm', 'kernel': 'axpby.c', 'exts': ['_k']}, diff --git a/meson.build b/meson.build index 7a2578259..af02d14b7 100644 --- a/meson.build +++ b/meson.build @@ -251,6 +251,15 @@ else endif endif +# Common maps +precision_mappings = { + 's': {'undef': ['COMPLEX', 'DOUBLE'], 'def': []}, + 'd': {'undef': ['COMPLEX'], 'def': ['DOUBLE']}, + 'q': {'undef': ['COMPLEX'], 'def': ['XDOUBLE']}, + 'c': {'undef': ['DOUBLE'], 'def': ['COMPLEX']}, + 'z': {'undef': [], 'def': ['COMPLEX', 'DOUBLE']}, + 'x': {'undef': [], 'def': ['COMPLEX', 'XDOUBLE']}, +} # Ignoring other hostarch checks and conflicts for arch in BSD for now _inc = include_directories('.')