-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch warning to error in wrapper headers. (#124)
- Loading branch information
1 parent
027404a
commit 026eb10
Showing
5 changed files
with
65 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# ###################################################################################################################### | ||
# Copyright (C) 2022 Advanced Micro Devices, Inc. | ||
# ###################################################################################################################### | ||
|
||
install_dir(${TEST_DIR}/libwrapper | ||
CMAKE_ARGS -DBUILD_SHARED_LIBS=On -DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=On -DROCM_HEADER_WRAPPER_WERROR=ON) | ||
test_check_package( | ||
NAME test-wrapper | ||
HEADER wrapper.h | ||
TARGET wrapper) | ||
test_check_package( | ||
NAME test-wrapper | ||
HEADER wrapper/wrapper.h | ||
TARGET wrapper | ||
) | ||
test_check_package( | ||
NAME test-wrapper | ||
HEADER other.h | ||
TARGET wrapper) | ||
test_check_package( | ||
NAME test-wrapper | ||
HEADER other/other.h | ||
TARGET wrapper | ||
) | ||
test_check_package( | ||
NAME test-wrapper | ||
HEADER other/th/two-letter-dir.h | ||
TARGET wrapper) | ||
test_check_package( | ||
NAME test-wrapper | ||
HEADER th/two-letter-dir.h | ||
TARGET wrapper | ||
) |