From 0d097708d5e800fe1317f8864599d51d8a79a4ec Mon Sep 17 00:00:00 2001 From: mozga Date: Tue, 12 Oct 2021 20:10:10 +0200 Subject: [PATCH] [Master][CI][Bugfix] Clang-format-13 file needs to have right license header and install clang-format package. (#20658) * Skip clang-format-13 file * Install clang format package * [DOC] Fix broken links Co-authored-by: barry-jin --- .licenserc.yaml | 1 + ci/docker/Dockerfile.build.ubuntu | 1 + .../tutorials/performance/backend/mkldnn/mkldnn_readme.md | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.licenserc.yaml b/.licenserc.yaml index ad8f3079f106..f7e262af1235 100644 --- a/.licenserc.yaml +++ b/.licenserc.yaml @@ -11,6 +11,7 @@ header: - 'DISCLAIMER' - 'KEYS' - 'tools/dependencies/LICENSE.binary.dependencies' + - 'tools/lint/git-clang-format-13' # files not distributed in source archive (listed in tools/source-exclude-artifacts.txt) - 'docs' - 'CODEOWNERS' diff --git a/ci/docker/Dockerfile.build.ubuntu b/ci/docker/Dockerfile.build.ubuntu index 7077cac976fa..843d0f97047e 100644 --- a/ci/docker/Dockerfile.build.ubuntu +++ b/ci/docker/Dockerfile.build.ubuntu @@ -58,6 +58,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \ libprotobuf-dev \ default-jdk \ clang-6.0 \ + clang-format \ python-yaml \ clang-10 \ clang-tidy-10 \ diff --git a/docs/python_docs/python/tutorials/performance/backend/mkldnn/mkldnn_readme.md b/docs/python_docs/python/tutorials/performance/backend/mkldnn/mkldnn_readme.md index 6438a5c99567..8ff92fe1a9a5 100644 --- a/docs/python_docs/python/tutorials/performance/backend/mkldnn/mkldnn_readme.md +++ b/docs/python_docs/python/tutorials/performance/backend/mkldnn/mkldnn_readme.md @@ -231,7 +231,7 @@ With MKL BLAS, the performace is expected to furtherly improved with variable ra You can redistribute not only dynamic libraries but also headers, examples and static libraries on accepting the license [Intel Simplified license](https://software.intel.com/en-us/license/intel-simplified-software-license). Installing the full MKL installation enables MKL support for all operators under the linalg namespace. - 1. Download and install the latest full MKL version following instructions on the [intel website.](https://software.intel.com/en-us/mkl) You can also install MKL through [YUM](https://software.intel.com/en-us/articles/installing-intel-free-libs-and-python-yum-repo) or [APT](https://software.intel.com/en-us/articles/installing-intel-free-libs-and-python-apt-repo) Repository. + 1. Download and install the latest full MKL version following instructions on the [intel website.](https://software.intel.com/en-us/mkl) You can also install MKL through [YUM](https://software.intel.com/content/www/us/en/develop/documentation/installation-guide-for-intel-oneapi-toolkits-linux/top/installation/install-using-package-managers/yum-dnf-zypper.html) or [APT](https://software.intel.com/content/www/us/en/develop/documentation/installation-guide-for-intel-oneapi-toolkits-linux/top/installation/install-using-package-managers/apt.html) Repository. 2. Run `make -j ${nproc} USE_BLAS=mkl`