benchmarks: migrate license to ASF

Xiaomi has submitted the SGA and we can migrate the licese to ASF

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
This commit is contained in:
Alin Jerpelea 2024-12-18 07:30:17 +01:00 committed by Xiang Xiao
parent 41e51e68a2
commit 69b6c936d1
18 changed files with 206 additions and 167 deletions

View file

@ -1,18 +1,24 @@
############################################################################
# apps/benchmarks/rt-tests/CMakeLists.txt
# #
# Copyright (C) 2024 Xiaomi Corporation # SPDX-License-Identifier: Apache-2.0
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may not # Licensed to the Apache Software Foundation (ASF) under one or more
# use this file except in compliance with the License. You may obtain a copy of # contributor license agreements. See the NOTICE file distributed with
# the License at # 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
# #
# 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 # Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations under # License for the specific language governing permissions and limitations
# the License. # under the License.
# #
############################################################################
if(CONFIG_BENCHMARK_RTTESTS) if(CONFIG_BENCHMARK_RTTESTS)

View file

@ -1,18 +1,8 @@
# #
# Copyright (C) 2024 Xiaomi Corporation # For a description of the syntax of this configuration file,
# # see the file kconfig-language.txt in the NuttX tools repository.
# 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
#
# 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.
# #
config BENCHMARK_RTTESTS config BENCHMARK_RTTESTS
tristate "RT-Tests" tristate "RT-Tests"
default n default n

View file

@ -1,18 +1,24 @@
############################################################################
# apps/benchmarks/rt-tests/Make.defs
# #
# Copyright (C) 2024 Xiaomi Corporation # SPDX-License-Identifier: Apache-2.0
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed to the Apache Software Foundation (ASF) under one or more
# you may not use this file except in compliance with the License. # contributor license agreements. See the NOTICE file distributed with
# You may obtain a copy of the License at # 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
# #
# 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 # Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# See the License for the specific language governing permissions and # License for the specific language governing permissions and limitations
# limitations under the License. # under the License.
# #
############################################################################
ifneq ($(CONFIG_BENCHMARK_RTTESTS),) ifneq ($(CONFIG_BENCHMARK_RTTESTS),)
CONFIGURED_APPS += $(APPDIR)/benchmarks/rt-tests CONFIGURED_APPS += $(APPDIR)/benchmarks/rt-tests

View file

@ -1,18 +1,24 @@
############################################################################
# apps/benchmarks/rt-tests/Makefile
# #
# Copyright (C) 2024 Xiaomi Corporation # SPDX-License-Identifier: Apache-2.0
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed to the Apache Software Foundation (ASF) under one or more
# you may not use this file except in compliance with the License. # contributor license agreements. See the NOTICE file distributed with
# You may obtain a copy of the License at # 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
# #
# 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 # Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# See the License for the specific language governing permissions and # License for the specific language governing permissions and limitations
# limitations under the License. # under the License.
# #
############################################################################
############################################################################ ############################################################################
# Targets # Targets

View file

@ -1,3 +1,8 @@
#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config BENCHMARK_SUPERPI config BENCHMARK_SUPERPI
tristate "SuperPI test" tristate "SuperPI test"
default n default n

View file

@ -1,18 +1,24 @@
############################################################################
# apps/benchmarks/tacle-bench/CMakeLists.txt
# #
# Copyright (C) 2024 Xiaomi Corporation # SPDX-License-Identifier: Apache-2.0
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may not # Licensed to the Apache Software Foundation (ASF) under one or more
# use this file except in compliance with the License. You may obtain a copy of # contributor license agreements. See the NOTICE file distributed with
# the License at # 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
# #
# 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 # Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations under # License for the specific language governing permissions and limitations
# the License. # under the License.
# #
############################################################################
if(CONFIG_BENCHMARK_TACLEBENCH) if(CONFIG_BENCHMARK_TACLEBENCH)

View file

@ -1,18 +1,8 @@
# #
# Copyright (C) 2024 Xiaomi Corporation # For a description of the syntax of this configuration file,
# # see the file kconfig-language.txt in the NuttX tools repository.
# 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
#
# 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.
# #
config BENCHMARK_TACLEBENCH config BENCHMARK_TACLEBENCH
tristate "TacleBench" tristate "TacleBench"
default n default n

View file

@ -1,18 +1,24 @@
############################################################################
# apps/benchmarks/tacle-bench/Make.defs
# #
# Copyright (C) 2024 Xiaomi Corporation # SPDX-License-Identifier: Apache-2.0
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed to the Apache Software Foundation (ASF) under one or more
# you may not use this file except in compliance with the License. # contributor license agreements. See the NOTICE file distributed with
# You may obtain a copy of the License at # 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
# #
# 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 # Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# See the License for the specific language governing permissions and # License for the specific language governing permissions and limitations
# limitations under the License. # under the License.
# #
############################################################################
ifneq ($(CONFIG_BENCHMARK_TACLEBENCH),) ifneq ($(CONFIG_BENCHMARK_TACLEBENCH),)
CONFIGURED_APPS += $(APPDIR)/benchmarks/tacle-bench CONFIGURED_APPS += $(APPDIR)/benchmarks/tacle-bench

View file

@ -1,18 +1,24 @@
############################################################################
# apps/benchmarks/tacle-bench/Makefile
# #
# Copyright (C) 2024 Xiaomi Corporation # SPDX-License-Identifier: Apache-2.0
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed to the Apache Software Foundation (ASF) under one or more
# you may not use this file except in compliance with the License. # contributor license agreements. See the NOTICE file distributed with
# You may obtain a copy of the License at # 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
# #
# 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 # Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# See the License for the specific language governing permissions and # License for the specific language governing permissions and limitations
# limitations under the License. # under the License.
# #
############################################################################
############################################################################ ############################################################################
# Targets # Targets

View file

@ -1,20 +1,25 @@
#!/bin/bash #!/bin/bash
############################################################################
# apps/benchmarks/tacle-bench/generate_taclebench_c.sh
# #
# Copyright (C) 2024 Xiaomi Corporation # SPDX-License-Identifier: Apache-2.0
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed to the Apache Software Foundation (ASF) under one or more
# you may not use this file except in compliance with the License. # contributor license agreements. See the NOTICE file distributed with
# You may obtain a copy of the License at # 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
# #
# 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 # Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# See the License for the specific language governing permissions and # License for the specific language governing permissions and limitations
# limitations under the License. # under the License.
# #
############################################################################
MAIN_C=tacle-bench/taclebench.c MAIN_C=tacle-bench/taclebench.c
BENCH_PATH=tacle-bench/bench BENCH_PATH=tacle-bench/bench

View file

@ -1,19 +1,24 @@
############################################################################
# apps/benchmarks/test-tlb/CMakeLists.txt
# #
# Copyright (C) 2024 Xiaomi Corporation # SPDX-License-Identifier: Apache-2.0
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may not # Licensed to the Apache Software Foundation (ASF) under one or more
# use this file except in compliance with the License. You may obtain a copy of # contributor license agreements. See the NOTICE file distributed with
# the License at # 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
# #
# 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 # Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations under # License for the specific language governing permissions and limitations
# the License. # under the License.
# #
############################################################################
if(CONFIG_BENCHMARK_TESTTLB) if(CONFIG_BENCHMARK_TESTTLB)
set(SRCS test-tlb/test-tlb.c) set(SRCS test-tlb/test-tlb.c)

View file

@ -1,17 +1,6 @@
# #
# Copyright (C) 2024 Xiaomi Corporation # For a description of the syntax of this configuration file,
# # see the file kconfig-language.txt in the NuttX tools repository.
# 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
#
# 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.
# #
config BENCHMARK_TESTTLB config BENCHMARK_TESTTLB

View file

@ -1,18 +1,24 @@
############################################################################
# apps/benchmarks/test-tlb/Make.defs
# #
# Copyright (C) 2024 Xiaomi Corporation # SPDX-License-Identifier: Apache-2.0
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed to the Apache Software Foundation (ASF) under one or more
# you may not use this file except in compliance with the License. # contributor license agreements. See the NOTICE file distributed with
# You may obtain a copy of the License at # 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
# #
# 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 # Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# See the License for the specific language governing permissions and # License for the specific language governing permissions and limitations
# limitations under the License. # under the License.
# #
############################################################################
ifneq ($(CONFIG_BENCHMARK_TESTTLB),) ifneq ($(CONFIG_BENCHMARK_TESTTLB),)
CONFIGURED_APPS += $(APPDIR)/benchmarks/test-tlb CONFIGURED_APPS += $(APPDIR)/benchmarks/test-tlb

View file

@ -1,18 +1,24 @@
############################################################################
# apps/benchmarks/test-tlb/Makefile
# #
# Copyright (C) 2024 Xiaomi Corporation # SPDX-License-Identifier: Apache-2.0
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed to the Apache Software Foundation (ASF) under one or more
# you may not use this file except in compliance with the License. # contributor license agreements. See the NOTICE file distributed with
# You may obtain a copy of the License at # 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
# #
# 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 # Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# See the License for the specific language governing permissions and # License for the specific language governing permissions and limitations
# limitations under the License. # under the License.
# #
############################################################################
include $(APPDIR)/Make.defs include $(APPDIR)/Make.defs

View file

@ -1,18 +1,24 @@
############################################################################
# apps/benchmarks/tinymembench/CMakeLists.txt
# #
# Copyright (C) 2024 Xiaomi Corporation # SPDX-License-Identifier: Apache-2.0
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may not # Licensed to the Apache Software Foundation (ASF) under one or more
# use this file except in compliance with the License. You may obtain a copy of # contributor license agreements. See the NOTICE file distributed with
# the License at # 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
# #
# 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 # Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations under # License for the specific language governing permissions and limitations
# the License. # under the License.
# #
############################################################################
if(CONFIG_BENCHMARK_TINY_MEMBENCH) if(CONFIG_BENCHMARK_TINY_MEMBENCH)

View file

@ -1,17 +1,6 @@
# #
# Copyright (C) 2024 Xiaomi Corporation # For a description of the syntax of this configuration file,
# # see the file kconfig-language.txt in the NuttX tools repository.
# 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
#
# 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.
# #
config BENCHMARK_TINY_MEMBENCH config BENCHMARK_TINY_MEMBENCH

View file

@ -1,18 +1,24 @@
############################################################################
# apps/benchmarks/tinymembench/Make.defs
# #
# Copyright (C) 2024 Xiaomi Corporation # SPDX-License-Identifier: Apache-2.0
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed to the Apache Software Foundation (ASF) under one or more
# you may not use this file except in compliance with the License. # contributor license agreements. See the NOTICE file distributed with
# You may obtain a copy of the License at # 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
# #
# 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 # Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# See the License for the specific language governing permissions and # License for the specific language governing permissions and limitations
# limitations under the License. # under the License.
# #
############################################################################
ifneq ($(CONFIG_BENCHMARK_TINY_MEMBENCH),) ifneq ($(CONFIG_BENCHMARK_TINY_MEMBENCH),)
CONFIGURED_APPS += $(APPDIR)/benchmarks/tinymembench CONFIGURED_APPS += $(APPDIR)/benchmarks/tinymembench

View file

@ -1,18 +1,24 @@
############################################################################
# apps/benchmarks/tinymembench/Makefile
# #
# Copyright (C) 2024 Xiaomi Corporation # SPDX-License-Identifier: Apache-2.0
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed to the Apache Software Foundation (ASF) under one or more
# you may not use this file except in compliance with the License. # contributor license agreements. See the NOTICE file distributed with
# You may obtain a copy of the License at # 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
# #
# 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 # Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# See the License for the specific language governing permissions and # License for the specific language governing permissions and limitations
# limitations under the License. # under the License.
# #
############################################################################
include $(APPDIR)/Make.defs include $(APPDIR)/Make.defs