Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-cppinttest
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-cppinttest
Commits
2c08ecdb
Verified
Commit
2c08ecdb
authored
7 months ago
by
Daniel Hornung
Browse files
Options
Downloads
Patches
Plain Diff
MAINT: Updated clang tools to 16, added early checks.
parent
e3e98988
Branches
Branches containing commit
No related tags found
2 merge requests
!41
Release 0.3.0
,
!37
F fix deprecations
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Makefile
+11
-2
11 additions, 2 deletions
Makefile
README.md
+2
-2
2 additions, 2 deletions
README.md
test/CMakeLists.txt
+1
-1
1 addition, 1 deletion
test/CMakeLists.txt
with
14 additions
and
5 deletions
Makefile
+
11
−
2
View file @
2c08ecdb
...
...
@@ -57,15 +57,24 @@ format:
build-debug
:
conan-install-debug
# cmake --preset conan-debug && cmake --build build/Debug # for CMake >= 3.23
@
command
-v
iwyu
||
command
include-what-you-use
||
\
(
echo
"Could not find 'iwyu', exiting."
;
exit
1
)
@
command
-v
clang-tidy
||
command
-v
clang-tidy-16
||
\
(
echo
"Could not find 'clang-tidy'(-16), exiting."
;
exit
1
)
cd
build/Debug
&&
\
cmake
-S
../..
-G
"Unix Makefiles"
-DCMAKE_TOOLCHAIN_FILE
=
generators/conan_toolchain.cmake
-DCMAKE_POLICY_DEFAULT_CMP0091
=
NEW
-DCMAKE_BUILD_TYPE
=
Debug
&&
\
cmake
--build
.
build-release
:
conan-install-release
# cmake --preset conan-release # for CMake >= 3.23
@
command
-v
iwyu
||
command
include-what-you-use
||
\
(
echo
"Could not find 'iwyu', exiting."
;
exit
1
)
@
command
-v
clang-tidy
||
command
-v
clang-tidy-16
||
\
(
echo
"Could not find 'clang-tidy'(-16), exiting."
;
exit
1
)
cd
build/Release
&&
\
cmake
-S
../..
-G
"Unix Makefiles"
-DCMAKE_TOOLCHAIN_FILE
=
generators/conan_toolchain.cmake
-DCMAKE_POLICY_DEFAULT_CMP0091
=
NEW
-DCMAKE_BUILD_TYPE
=
Release
&&
\
cmake
-DCMAKE_VERBOSE_MAKEFILE
--build
.
cmake
-S
../..
-G
"Unix Makefiles"
-DCMAKE_TOOLCHAIN_FILE
=
generators/conan_toolchain.cmake
-DCMAKE_POLICY_DEFAULT_CMP0091
=
NEW
-DCMAKE_BUILD_TYPE
=
Release
&&
\
cmake
--build
.
# cmake --build . --verbose
test-debug
:
build-debug
...
...
This diff is collapsed.
Click to expand it.
README.md
+
2
−
2
View file @
2c08ecdb
...
...
@@ -4,9 +4,9 @@ Integration tests for linkahead-cpplib and the linkahead-server
# Dependencies
*
clang-tidy
*
clang-tidy
-16
*
clang-format
*
include-what-you-use
*
iwyu /
include-what-you-use
*
cmake
*
conan
...
...
This diff is collapsed.
Click to expand it.
test/CMakeLists.txt
+
1
−
1
View file @
2c08ecdb
...
...
@@ -80,7 +80,7 @@ if(LINTING)
"-Xiwyu"
"--cxx17ns"
)
endif
()
find_program
(
clang_tidy NAMES clang-tidy clang-tidy-1
1
)
find_program
(
clang_tidy NAMES clang-tidy clang-tidy-1
6
)
if
(
NOT clang_tidy
)
message
(
WARNING
"clang-tidy: Not found"
)
else
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment