Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
[LICENSE] fix cpp predcit license (#17377)
Browse files Browse the repository at this point in the history
* fix cpp predcit license

* add white list (#210)

* fix white list (#211)

Co-authored-by: Lai Wei <royweilai@gmail.com>
  • Loading branch information
eric-haibin-lin and roywei authored Jan 27, 2020
1 parent a1b0ff2 commit 3ef8935
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -1,20 +1,15 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

/*!
Expand Down
3 changes: 2 additions & 1 deletion tests/nightly/apache_rat_license_check/rat-excludes
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,5 @@ searchtools_custom.js
theme.conf
LICENSE.binary.dependencies
cmake/Modules/FindCUDAToolkit.cmake
np_einsum_op-inl.h
image-classification-predict.cc
np_einsum_op-inl.h
3 changes: 3 additions & 0 deletions tools/license_header.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@

# Julia package metadata, generated by Pkg3.jl
'julia/Project.toml',

# Licensed under Apache 2.0 license
'example/image-classification/predict-cpp/image-classification-predict.cc'
]

# language extensions and the according commment mark
Expand Down

0 comments on commit 3ef8935

Please sign in to comment.