Macro files:
lustre-toolchain.m4 lustre-compiler-plugins.m4
and directory:
cc-plugins
Should be included in distributed files, unconditionally.
Test-Parameters: trivial
Fixes:
d684885098 ("LU-16961 clang: plugins and build system integration")
Signed-off-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Change-Id: I6ddedd82c6180ffd1c4134fda6af6df6bd23dd34
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/53991
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Petros Koutoupis <petros.koutoupis@hpe.com>
Reviewed-by: Timothy Day <timday@amazon.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
libcfs \
lnet \
lustre \
+ cc-plugins \
config
AUTOMAKE_OPTIONS = foreign
# Automake file for compiler plugins.
#
+EXTRA_DIST =
+
if CC_PLUGINS
lib_LTLIBRARIES = libfindstatic.la
libfindstatic_la_SOURCES = FindStatic.cpp
+EXTRA_DIST += FindStatic.cpp
endif # CC_PLUGINS
EXTRA_DIST = lustre-build.m4 lustre-build-linux.m4
EXTRA_DIST += lustre-build-ldiskfs.m4 lustre-build-zfs.m4
+EXTRA_DIST += lustre-toolchain.m4 lustre-compiler-plugins.m4
# files that should be generated with AC_OUTPUT
#
AC_DEFUN([LPLUG_CONFIG_FILES], [
-AS_IF([test "x$enable_compiler_plugins" == "xyes"], [
-AC_CONFIG_FILES([
-cc-plugins/Makefile
-])
-], [])
+ AC_CONFIG_FILES([
+ cc-plugins/Makefile
+ ])
]) # LPLUG_CONFIG_FILES