SINGA-240 Add license for singa source Remove copyright in source headers.
Project: http://git-wip-us.apache.org/repos/asf/incubator-singa/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-singa/commit/9ee16e00 Tree: http://git-wip-us.apache.org/repos/asf/incubator-singa/tree/9ee16e00 Diff: http://git-wip-us.apache.org/repos/asf/incubator-singa/diff/9ee16e00 Branch: refs/heads/master Commit: 9ee16e006a01a2d0edd19ddcc52183372ff49346 Parents: 1c5ca22 Author: xiezl <[email protected]> Authored: Wed Aug 17 13:41:39 2016 +0800 Committer: Wei Wang <[email protected]> Committed: Thu Aug 18 01:31:36 2016 +0800 ---------------------------------------------------------------------- CMakeLists.txt | 11 +---------- cmake/Cuda.cmake | 2 -- cmake/Dependencies.cmake | 2 -- cmake/Templates/singa_config.h.in | 2 -- cmake/Thirdparty/FindCBLAS.cmake | 2 -- cmake/Thirdparty/FindCUDNN.cmake | 2 -- cmake/Thirdparty/FindGlog.cmake | 2 -- cmake/Thirdparty/FindLMDB.cmake | 2 -- cmake/Utils.cmake | 2 -- examples/CMakeLists.txt | 2 -- examples/cifar10/CMakeLists.txt | 2 -- examples/cifar10/download_data.py | 2 -- examples/cifar10/run-parallel.sh | 2 -- examples/cifar10/run.sh | 2 -- examples/imagenet/CMakeLists.txt | 2 -- examples/imagenet/create_data.sh | 2 -- examples/imagenet/run.sh | 2 -- examples/index.rst | 2 -- include/singa/utils/timer.h | 2 -- jenkins.sh | 1 - src/CMakeLists.txt | 2 -- src/python/setup.py.in | 2 -- src/python/singa/__init__.py | 2 -- test/CMakeLists.txt | 2 -- test/gtest/CMakeLists.txt | 2 -- test/python/test_layer.py | 2 -- test/singa/test_layer.cc | 2 -- test/singa/test_tensor.cc | 2 -- test/singa/test_tensor_math.cc | 2 -- test/singa/test_timer.cc | 2 -- 30 files changed, 1 insertion(+), 67 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/9ee16e00/CMakeLists.txt ---------------------------------------------------------------------- diff --git a/CMakeLists.txt b/CMakeLists.txt index 5646870..2bed134 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,4 @@ # -# Copyright 2015 The Apache Software Foundation -# # 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 @@ -40,7 +38,7 @@ SET(SINGA_INCLUDE_DIR INCLUDE_DIRECTORIES(${SINGA_INCLUDE_DIR}) OPTION(USE_CBLAS "Use CBlas libs" ON) -OPTION(USE_CUDA "Use Cuda libs" ON) +OPTION(USE_CUDA "Use Cuda libs" OFF) OPTION(USE_CUDNN "Use Cudnn libs" ON) OPTION(USE_OPENCV "Use opencv" OFF) OPTION(USE_LMDB "Use LMDB libs" OFF) @@ -77,10 +75,3 @@ ENDIF() ADD_SUBDIRECTORY(src) ADD_SUBDIRECTORY(test) ADD_SUBDIRECTORY(examples) - -INSTALL(DIRECTORY include/singa DESTINATION ${CMAKE_INSTALL_PREFIX}/include) -INSTALL(FILES ${CMAKE_BINARY_DIR}/include/singa/singa_config.h DESTINATION - ${CMAKE_INSTALL_PREFIX}/include/singa) -INSTALL (DIRECTORY ${CMAKE_BINARY_DIR}/lib DESTINATION ${CMAKE_INSTALL_PREFIX} - PATTERN "*libgtest.a" EXCLUDE ) -#INSTALL (DIRECTORY ${CMAKE_BINARY_DIR}/bin DESTINATION ${CMAKE_INSTALL_PREFIX}) http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/9ee16e00/cmake/Cuda.cmake ---------------------------------------------------------------------- diff --git a/cmake/Cuda.cmake b/cmake/Cuda.cmake index 37d5878..e590bb1 100644 --- a/cmake/Cuda.cmake +++ b/cmake/Cuda.cmake @@ -1,6 +1,4 @@ # -# Copyright 2015 The Apache Software Foundation -# # 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 http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/9ee16e00/cmake/Dependencies.cmake ---------------------------------------------------------------------- diff --git a/cmake/Dependencies.cmake b/cmake/Dependencies.cmake index 62c7d52..b5fda6d 100644 --- a/cmake/Dependencies.cmake +++ b/cmake/Dependencies.cmake @@ -1,6 +1,4 @@ # -# Copyright 2015 The Apache Software Foundation -# # 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 http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/9ee16e00/cmake/Templates/singa_config.h.in ---------------------------------------------------------------------- diff --git a/cmake/Templates/singa_config.h.in b/cmake/Templates/singa_config.h.in index 011489c..f3500d0 100644 --- a/cmake/Templates/singa_config.h.in +++ b/cmake/Templates/singa_config.h.in @@ -1,6 +1,4 @@ /** - * Copyright 2015 The Apache Software Foundation - * * 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 http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/9ee16e00/cmake/Thirdparty/FindCBLAS.cmake ---------------------------------------------------------------------- diff --git a/cmake/Thirdparty/FindCBLAS.cmake b/cmake/Thirdparty/FindCBLAS.cmake index 6e9ce5f..76c9118 100644 --- a/cmake/Thirdparty/FindCBLAS.cmake +++ b/cmake/Thirdparty/FindCBLAS.cmake @@ -1,6 +1,4 @@ # -# Copyright 2015 The Apache Software Foundation -# # 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 http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/9ee16e00/cmake/Thirdparty/FindCUDNN.cmake ---------------------------------------------------------------------- diff --git a/cmake/Thirdparty/FindCUDNN.cmake b/cmake/Thirdparty/FindCUDNN.cmake index 7792f58..451b79b 100644 --- a/cmake/Thirdparty/FindCUDNN.cmake +++ b/cmake/Thirdparty/FindCUDNN.cmake @@ -1,6 +1,4 @@ # -# Copyright 2015 The Apache Software Foundation -# # 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 http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/9ee16e00/cmake/Thirdparty/FindGlog.cmake ---------------------------------------------------------------------- diff --git a/cmake/Thirdparty/FindGlog.cmake b/cmake/Thirdparty/FindGlog.cmake index c0e857a..e18c602 100644 --- a/cmake/Thirdparty/FindGlog.cmake +++ b/cmake/Thirdparty/FindGlog.cmake @@ -1,6 +1,4 @@ # -# Copyright 2015 The Apache Software Foundation -# # 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 http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/9ee16e00/cmake/Thirdparty/FindLMDB.cmake ---------------------------------------------------------------------- diff --git a/cmake/Thirdparty/FindLMDB.cmake b/cmake/Thirdparty/FindLMDB.cmake index fbe34fc..0553b19 100644 --- a/cmake/Thirdparty/FindLMDB.cmake +++ b/cmake/Thirdparty/FindLMDB.cmake @@ -1,6 +1,4 @@ # -# Copyright 2015 The Apache Software Foundation -# # 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 http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/9ee16e00/cmake/Utils.cmake ---------------------------------------------------------------------- diff --git a/cmake/Utils.cmake b/cmake/Utils.cmake index 49494f0..a0373b8 100644 --- a/cmake/Utils.cmake +++ b/cmake/Utils.cmake @@ -1,6 +1,4 @@ # -# Copyright 2015 The Apache Software Foundation -# # 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 http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/9ee16e00/examples/CMakeLists.txt ---------------------------------------------------------------------- diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index bf27685..0bb6c2f 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -1,6 +1,4 @@ # -# Copyright 2015 The Apache Software Foundation -# # 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 http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/9ee16e00/examples/cifar10/CMakeLists.txt ---------------------------------------------------------------------- diff --git a/examples/cifar10/CMakeLists.txt b/examples/cifar10/CMakeLists.txt index 6814958..313c0eb 100644 --- a/examples/cifar10/CMakeLists.txt +++ b/examples/cifar10/CMakeLists.txt @@ -1,6 +1,4 @@ # -# Copyright 2015 The Apache Software Foundation -# # 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 http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/9ee16e00/examples/cifar10/download_data.py ---------------------------------------------------------------------- diff --git a/examples/cifar10/download_data.py b/examples/cifar10/download_data.py index 8153030..7129b03 100755 --- a/examples/cifar10/download_data.py +++ b/examples/cifar10/download_data.py @@ -1,7 +1,5 @@ #!/usr/bin/env python # -# Copyright 2015 The Apache Software Foundation -# # 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 http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/9ee16e00/examples/cifar10/run-parallel.sh ---------------------------------------------------------------------- diff --git a/examples/cifar10/run-parallel.sh b/examples/cifar10/run-parallel.sh index e4f0221..91b3b54 100755 --- a/examples/cifar10/run-parallel.sh +++ b/examples/cifar10/run-parallel.sh @@ -1,7 +1,5 @@ #!/usr/bin/env sh # -# Copyright 2015 The Apache Software Foundation -# # 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 http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/9ee16e00/examples/cifar10/run.sh ---------------------------------------------------------------------- diff --git a/examples/cifar10/run.sh b/examples/cifar10/run.sh index a544234..279edf0 100755 --- a/examples/cifar10/run.sh +++ b/examples/cifar10/run.sh @@ -1,7 +1,5 @@ #!/usr/bin/env sh # -# Copyright 2015 The Apache Software Foundation -# # 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 http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/9ee16e00/examples/imagenet/CMakeLists.txt ---------------------------------------------------------------------- diff --git a/examples/imagenet/CMakeLists.txt b/examples/imagenet/CMakeLists.txt index 9675f4c..465245a 100644 --- a/examples/imagenet/CMakeLists.txt +++ b/examples/imagenet/CMakeLists.txt @@ -1,6 +1,4 @@ # -# Copyright 2015 The Apache Software Foundation -# # 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 http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/9ee16e00/examples/imagenet/create_data.sh ---------------------------------------------------------------------- diff --git a/examples/imagenet/create_data.sh b/examples/imagenet/create_data.sh index 6a9eea9..4c2c034 100755 --- a/examples/imagenet/create_data.sh +++ b/examples/imagenet/create_data.sh @@ -1,7 +1,5 @@ #!/usr/bin/env sh # -# Copyright 2015 The Apache Software Foundation -# # 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 http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/9ee16e00/examples/imagenet/run.sh ---------------------------------------------------------------------- diff --git a/examples/imagenet/run.sh b/examples/imagenet/run.sh index aeffba3..6277d23 100755 --- a/examples/imagenet/run.sh +++ b/examples/imagenet/run.sh @@ -1,7 +1,5 @@ #!/usr/bin/env sh # -# Copyright 2015 The Apache Software Foundation -# # 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 http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/9ee16e00/examples/index.rst ---------------------------------------------------------------------- diff --git a/examples/index.rst b/examples/index.rst index 8df22fd..b501b36 100644 --- a/examples/index.rst +++ b/examples/index.rst @@ -1,6 +1,4 @@ .. -.. Copyright 2015 The Apache Software Foundation -.. .. 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 http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/9ee16e00/include/singa/utils/timer.h ---------------------------------------------------------------------- diff --git a/include/singa/utils/timer.h b/include/singa/utils/timer.h index f54bce8..291c733 100644 --- a/include/singa/utils/timer.h +++ b/include/singa/utils/timer.h @@ -1,6 +1,4 @@ /** - * Copyright 2015 The Apache Software Foundation - * * 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 http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/9ee16e00/jenkins.sh ---------------------------------------------------------------------- diff --git a/jenkins.sh b/jenkins.sh index ee87d40..347a55e 100644 --- a/jenkins.sh +++ b/jenkins.sh @@ -1,6 +1,5 @@ #!/usr/bin/env sh #/** -# * Copyright 2015 The Apache Software Foundation # * # * Licensed to the Apache Software Foundation (ASF) under one # * or more contributor license agreements. See the NOTICE file http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/9ee16e00/src/CMakeLists.txt ---------------------------------------------------------------------- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 425986f..174f05e 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,6 +1,4 @@ # -# Copyright 2015 The Apache Software Foundation -# # 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 http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/9ee16e00/src/python/setup.py.in ---------------------------------------------------------------------- diff --git a/src/python/setup.py.in b/src/python/setup.py.in index 004222c..881cd30 100644 --- a/src/python/setup.py.in +++ b/src/python/setup.py.in @@ -1,6 +1,4 @@ # -# Copyright 2015 The Apache Software Foundation -# # 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 http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/9ee16e00/src/python/singa/__init__.py ---------------------------------------------------------------------- diff --git a/src/python/singa/__init__.py b/src/python/singa/__init__.py index 750eb60..c81c6ef 100644 --- a/src/python/singa/__init__.py +++ b/src/python/singa/__init__.py @@ -1,6 +1,4 @@ # -# Copyright 2015 The Apache Software Foundation -# # 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 http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/9ee16e00/test/CMakeLists.txt ---------------------------------------------------------------------- diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 7928bc1..7db784c 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,6 +1,4 @@ # -# Copyright 2015 The Apache Software Foundation -# # 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 http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/9ee16e00/test/gtest/CMakeLists.txt ---------------------------------------------------------------------- diff --git a/test/gtest/CMakeLists.txt b/test/gtest/CMakeLists.txt index 750eb60..5b22dae 100644 --- a/test/gtest/CMakeLists.txt +++ b/test/gtest/CMakeLists.txt @@ -1,5 +1,3 @@ -# -# Copyright 2015 The Apache Software Foundation # # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/9ee16e00/test/python/test_layer.py ---------------------------------------------------------------------- diff --git a/test/python/test_layer.py b/test/python/test_layer.py index f98a3c0..141cf56 100644 --- a/test/python/test_layer.py +++ b/test/python/test_layer.py @@ -1,5 +1,3 @@ -# -# Copyright 2015 The Apache Software Foundation # # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/9ee16e00/test/singa/test_layer.cc ---------------------------------------------------------------------- diff --git a/test/singa/test_layer.cc b/test/singa/test_layer.cc index c913a17..7726a4a 100644 --- a/test/singa/test_layer.cc +++ b/test/singa/test_layer.cc @@ -1,6 +1,4 @@ /** - * Copyright 2015 The Apache Software Foundation - * * 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 http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/9ee16e00/test/singa/test_tensor.cc ---------------------------------------------------------------------- diff --git a/test/singa/test_tensor.cc b/test/singa/test_tensor.cc index a6d6bab..316b996 100644 --- a/test/singa/test_tensor.cc +++ b/test/singa/test_tensor.cc @@ -1,6 +1,4 @@ /** - * Copyright 2015 The Apache Software Foundation - * * 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 http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/9ee16e00/test/singa/test_tensor_math.cc ---------------------------------------------------------------------- diff --git a/test/singa/test_tensor_math.cc b/test/singa/test_tensor_math.cc index 0c0b4f8..267905d 100644 --- a/test/singa/test_tensor_math.cc +++ b/test/singa/test_tensor_math.cc @@ -1,6 +1,4 @@ /** - * Copyright 2015 The Apache Software Foundation - * * 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 http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/9ee16e00/test/singa/test_timer.cc ---------------------------------------------------------------------- diff --git a/test/singa/test_timer.cc b/test/singa/test_timer.cc index 2b3bd05..76d3597 100644 --- a/test/singa/test_timer.cc +++ b/test/singa/test_timer.cc @@ -1,6 +1,4 @@ /** - * Copyright 2015 The Apache Software Foundation - * * 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
