-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2d15d96
commit a0a897e
Showing
27 changed files
with
178 additions
and
788 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Intellectual Property Notice | ||
------------------------------ | ||
|
||
CHAI is licensed under the BSD 3 Clause license (LICENSE or | ||
https://opensource.org/licenses/BSD-3-Clause). | ||
|
||
Copyrights and patents in the CHAI project are retained by contributors. No | ||
copyright assignment is required to contribute to CHAI. | ||
|
||
SPDX usage | ||
------------ | ||
|
||
Individual files contain SPDX tags instead of the full license text. | ||
This enables machine processing of license information based on the SPDX | ||
License Identifiers that are available here: https://spdx.org/licenses/ |
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
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,35 @@ | ||
#!/usr/bin/env zsh | ||
############################################################################## | ||
# Copyright (c) 2016-19, Lawrence Livermore National Security, LLC and CHAI | ||
# project contributors. See the COPYRIGHT file for details. | ||
# | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
############################################################################## | ||
|
||
setopt extended_glob | ||
|
||
RED="\033[1;31m" | ||
GREEN="\033[1;32m" | ||
NOCOLOR="\033[0m" | ||
|
||
LIC_CMD=$(which lic) | ||
if [ ! $LIC_CMD ]; then | ||
echo "${RED} [!] This script requires the lic command." | ||
exit 255 | ||
fi | ||
|
||
echo "Applying licenses to files" | ||
|
||
files_no_license=$(grep -L 'This file is part of Umpire.' \ | ||
benchmarks/**/*(^/) \ | ||
cmake/**/*(^/) \ | ||
docs/**/*~*rst(^/)\ | ||
examples/**/*(^/) \ | ||
scripts/**/*(^/) \ | ||
src/**/*~*tpl*(^/) \ | ||
tests/**/*(^/) \ | ||
CMakeLists.txt) | ||
|
||
echo $files_no_license | xargs $LIC_CMD -f scripts/license.txt | ||
|
||
echo "${GREEN} [Ok] License text applied. ${NOCOLOR}" |
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 |
---|---|---|
@@ -1,3 +1,9 @@ | ||
#!/usr/bin/env bash | ||
############################################################################## | ||
# Copyright (c) 2016-19, Lawrence Livermore National Security, LLC and CHAI | ||
# project contributors. See the COPYRIGHT file for details. | ||
# | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
############################################################################## | ||
|
||
find . -type f -iname '*.hpp' -o -iname '*.cpp' | grep -v -e blt -e tpl | xargs clang-format -i |
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,4 @@ | ||
Copyright (c) 2016-19, Lawrence Livermore National Security, LLC and CHAI | ||
project contributors. See the COPYRIGHT file for details. | ||
|
||
SPDX-License-Identifier: BSD-3-Clause |
Oops, something went wrong.