Skip to content

Commit

Permalink
do not process fortran files for clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed May 17, 2020
1 parent 1c35b87 commit 26e8be0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 8 additions & 1 deletion ChangeLog
@@ -1,3 +1,10 @@
2020-05-17 Shahzad Muzaffar <@smuzaffar>
V05-08-78: Don't include fortran files in llvm ccdb to avoid running
clang-tidy on them.

2020-04-18 Shahzad Muzaffar <@smuzaffar>
V05-08-77: Use gcc compiler's flags for CUDA host.

2020-04-04 Shahzad Muzaffar <@smuzaffar>
V05-08-76: Fix fix-code-checks-yaml.py to work with LLVM 9.0.1

Expand All @@ -21,7 +28,7 @@
Make sure to always create _rdict.pcm for biglib

2019-10-15 Shahzad Muzaffar <@smuzaffar>
V05-08-69: Fix coral buildfile for centos
V05-08-69: Fix coral buildfile for centos

2019-10-15 Shahzad Muzaffar <@smuzaffar>
V05-08-68: Fix for DD4Hep plugins component file.
Expand Down
2 changes: 2 additions & 0 deletions SCRAM/GMake/Makefile.rules
Expand Up @@ -552,6 +552,7 @@ endef
define compile_c_common
$(call run_compile_command,$2,$4,$5,$(CC) $(COMPILE_OPTIONS) $(3) $(COPTIMISEDFLAGS) $(CSHAREDOBJECTFLAGS),$(if $(6),,$(C_MMD) $(C_MF) $(basename $@).d),$(if $(6),,$(C_MM)))
endef
ifneq ($(strip $(SCRAM_GENERATE_LLVM_CCDB)),YES)
ifeq ($(strip $(SCRAM_DEFAULT_COMPILER)),icc)
define compile_fortran_common
$(call run_compile_command,$2,$4,$5,$(FC) $(COMPILE_OPTIONS) $(3) $(FOPTIMISEDFLAGS) $(FSHAREDOBJECTFLAGS),,)
Expand All @@ -561,6 +562,7 @@ define compile_fortran_common
$(call run_compile_command,$2,$4,$5,$(FC) $(COMPILE_OPTIONS) $(3) $(FOPTIMISEDFLAGS) $(FSHAREDOBJECTFLAGS),$(if $(6),,$(F77_MMD) $(F77_MF) $(basename $@).d),$(if $(6),,$(F77_MM)))
endef
endif
endif

#LLVM Analyzer Rules
define run_analyze_command
Expand Down

0 comments on commit 26e8be0

Please sign in to comment.