Skip to content

Commit 552d3f8

Browse files
authored
Relicense IREE under the LLVM license (iree-org#6020)
To facilitate easy movement between IREE and upstream LLVM, we are relicensing under the same license: the Apache 2.0 License with LLVM Exceptions (https://llvm.org/LICENSE.txt, SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception). In addition, we are moving to a Copyright header format that attributes copyright to "The IREE Authors" and uses a separate AUTHORS file to keep track of contributions. For this PR, I am just listing Google, but I will send follow-ups to list Fraunhofer IML and Nod Labs (keeping it separate so I can get those folks approval for the precise wording). Note that the change to the header format is to recognize the valuable contributions from our external collaborators and as always copyright is retained by the author. See the announcement at https://groups.google.com/g/iree-discuss/c/NJohLQ5rOBg The script I used to update (almost) all the headers is at https://gist.github.com/GMNGeoffrey/8e85e1a088f59822ab61eff01f8d4ef6 The updates from that script are all in one commit. I recommend reviewing the other commits separately from that one. You can also see the raw diff from that change at https://github.com/google/iree/commit/bdb5800ea51.diff As part of this, I had to manually fiddle with ipynb files (actually that was the most time-consuming aspect). I changed the format of the license headers there to just be a block of markdown text rather than something that was for some reason executable. Also had to manually give the cells IDs, which hopefully will have worked. To resolve the inevitable merge conflicts, I will likely drop the changes from the script and rerun. Tested: ``` $ grep -r --exclude-dir=third_party "Google LLC" . | grep -v website/site ./AUTHORS:Google LLC ```
1 parent 9c364e9 commit 552d3f8

File tree

1,622 files changed

+6559
-19486
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,622 files changed

+6559
-19486
lines changed

.bazelignore

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
1-
# Copyright 2019 Google LLC
1+
# Copyright 2019 The IREE Authors
22
#
3-
# Licensed under the Apache License, Version 2.0 (the "License");
4-
# you may not use this file except in compliance with the License.
5-
# You may obtain a copy of the License at
6-
#
7-
# https://www.apache.org/licenses/LICENSE-2.0
8-
#
9-
# Unless required by applicable law or agreed to in writing, software
10-
# distributed under the License is distributed on an "AS IS" BASIS,
11-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
# See the License for the specific language governing permissions and
13-
# limitations under the License.
3+
# Licensed under the Apache License v2.0 with LLVM Exceptions.
4+
# See https://llvm.org/LICENSE.txt for license information.
5+
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
146

157
# Ignore 'experimental' folders. These builds are not regularly maintained.
168
# If you wish to build/run a target under experimental/, you must remove this

.bazelrc

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
1-
# Copyright 2019 Google LLC
1+
# Copyright 2019 The IREE Authors
22
#
3-
# Licensed under the Apache License, Version 2.0 (the "License");
4-
# you may not use this file except in compliance with the License.
5-
# You may obtain a copy of the License at
6-
#
7-
# https://www.apache.org/licenses/LICENSE-2.0
8-
#
9-
# Unless required by applicable law or agreed to in writing, software
10-
# distributed under the License is distributed on an "AS IS" BASIS,
11-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
# See the License for the specific language governing permissions and
13-
# limitations under the License.
3+
# Licensed under the Apache License v2.0 with LLVM Exceptions.
4+
# See https://llvm.org/LICENSE.txt for license information.
5+
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
146

157
# Import the main bazelrc config. This is in a separate file so that it's
168
# possible to turn off some or all user and system bazelrc options by specifying

.clang-format

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
1-
# Copyright 2019 Google LLC
1+
# Copyright 2019 The IREE Authors
22
#
3-
# Licensed under the Apache License, Version 2.0 (the "License");
4-
# you may not use this file except in compliance with the License.
5-
# You may obtain a copy of the License at
6-
#
7-
# https://www.apache.org/licenses/LICENSE-2.0
8-
#
9-
# Unless required by applicable law or agreed to in writing, software
10-
# distributed under the License is distributed on an "AS IS" BASIS,
11-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
# See the License for the specific language governing permissions and
13-
# limitations under the License.
3+
# Licensed under the Apache License v2.0 with LLVM Exceptions.
4+
# See https://llvm.org/LICENSE.txt for license information.
5+
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
146

157
# All of IREE is in the Google style except for iree/compiler/, which follows
168
# mostly LLVM style (for naming/etc) but the Google formatting (because internal

.github/workflows/copybara_fixup.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
1-
# Copyright 2019 Google LLC
1+
# Copyright 2019 The IREE Authors
22
#
3-
# Licensed under the Apache License, Version 2.0 (the "License");
4-
# you may not use this file except in compliance with the License.
5-
# You may obtain a copy of the License at
6-
#
7-
# https://www.apache.org/licenses/LICENSE-2.0
8-
#
9-
# Unless required by applicable law or agreed to in writing, software
10-
# distributed under the License is distributed on an "AS IS" BASIS,
11-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
# See the License for the specific language governing permissions and
13-
# limitations under the License.
3+
# Licensed under the Apache License v2.0 with LLVM Exceptions.
4+
# See https://llvm.org/LICENSE.txt for license information.
5+
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
146

157
# Edits the HEAD commit if it is tagged with the Copybara tag to use the
168
# submodule state specified in SUBMODULE_VERSIONS.txt and merge from the

.github/workflows/lint.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
1-
# Copyright 2019 Google LLC
1+
# Copyright 2019 The IREE Authors
22
#
3-
# Licensed under the Apache License, Version 2.0 (the "License");
4-
# you may not use this file except in compliance with the License.
5-
# You may obtain a copy of the License at
6-
#
7-
# https://www.apache.org/licenses/LICENSE-2.0
8-
#
9-
# Unless required by applicable law or agreed to in writing, software
10-
# distributed under the License is distributed on an "AS IS" BASIS,
11-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
# See the License for the specific language governing permissions and
13-
# limitations under the License.
3+
# Licensed under the Apache License v2.0 with LLVM Exceptions.
4+
# See https://llvm.org/LICENSE.txt for license information.
5+
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
146

157
name: Lint
168

.github/workflows/update_llvm_dependent_submodules.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
1-
# Copyright 2020 Google LLC
1+
# Copyright 2020 The IREE Authors
22
#
3-
# Licensed under the Apache License, Version 2.0 (the "License");
4-
# you may not use this file except in compliance with the License.
5-
# You may obtain a copy of the License at
6-
#
7-
# https://www.apache.org/licenses/LICENSE-2.0
8-
#
9-
# Unless required by applicable law or agreed to in writing, software
10-
# distributed under the License is distributed on an "AS IS" BASIS,
11-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
# See the License for the specific language governing permissions and
13-
# limitations under the License.
3+
# Licensed under the Apache License v2.0 with LLVM Exceptions.
4+
# See https://llvm.org/LICENSE.txt for license information.
5+
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
146

157
# Creates a PR to update all LLVM-dependent submodules to the current LLVM
168
# commit in the repo.

.yamllint.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
1-
# Copyright 2020 Google LLC
1+
# Copyright 2020 The IREE Authors
22
#
3-
# Licensed under the Apache License, Version 2.0 (the "License");
4-
# you may not use this file except in compliance with the License.
5-
# You may obtain a copy of the License at
6-
#
7-
# https://www.apache.org/licenses/LICENSE-2.0
8-
#
9-
# Unless required by applicable law or agreed to in writing, software
10-
# distributed under the License is distributed on an "AS IS" BASIS,
11-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
# See the License for the specific language governing permissions and
13-
# limitations under the License.
3+
# Licensed under the Apache License v2.0 with LLVM Exceptions.
4+
# See https://llvm.org/LICENSE.txt for license information.
5+
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
146

157
extends: default
168

AUTHORS

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# This is the list of IREE's significant contributors.
2+
#
3+
# This does not necessarily list everyone who has contributed code, especially
4+
# since many employees of one corporation may be contributing. To see the full
5+
# list of contributors, see the revision history in source control.
6+
#
7+
# Please only add individuals if they are not contributing on behalf of a
8+
# company (who should be listed instead). Add new entries at the bottom of the
9+
# file.
10+
Google LLC

BUILD.bazel

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
1-
# Copyright 2019 Google LLC
1+
# Copyright 2019 The IREE Authors
22
#
3-
# Licensed under the Apache License, Version 2.0 (the "License");
4-
# you may not use this file except in compliance with the License.
5-
# You may obtain a copy of the License at
6-
#
7-
# https://www.apache.org/licenses/LICENSE-2.0
8-
#
9-
# Unless required by applicable law or agreed to in writing, software
10-
# distributed under the License is distributed on an "AS IS" BASIS,
11-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
# See the License for the specific language governing permissions and
13-
# limitations under the License.
3+
# Licensed under the Apache License v2.0 with LLVM Exceptions.
4+
# See https://llvm.org/LICENSE.txt for license information.
5+
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
146

157
# Note that project-wide, bazel repo aliases are used. Various scripts and helpers operate on the
168
# following prefixes textually, so avoid doing any systematic construction that would break the

CMakeLists.txt

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
1-
# Copyright 2019 Google LLC
1+
# Copyright 2019 The IREE Authors
22
#
3-
# Licensed under the Apache License, Version 2.0 (the "License");
4-
# you may not use this file except in compliance with the License.
5-
# You may obtain a copy of the License at
6-
#
7-
# https://www.apache.org/licenses/LICENSE-2.0
8-
#
9-
# Unless required by applicable law or agreed to in writing, software
10-
# distributed under the License is distributed on an "AS IS" BASIS,
11-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
# See the License for the specific language governing permissions and
13-
# limitations under the License.
3+
# Licensed under the Apache License v2.0 with LLVM Exceptions.
4+
# See https://llvm.org/LICENSE.txt for license information.
5+
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
146

157
cmake_minimum_required(VERSION 3.13.4)
168
# Do not set MSVC warning flags like /W3 by default (since 3.15):

0 commit comments

Comments
 (0)