diff --git a/README.en.md b/README.en.md index 30d9309b9be0fb5aeea354732e49cea3ba18fea9..53e89d23ac03518ea5dd0580cea94127ef92f051 100644 --- a/README.en.md +++ b/README.en.md @@ -1,36 +1,3 @@ # openmp-latest -#### Description -LLVM OpenMP Libraries - -#### Software Architecture -Software architecture description - -#### Installation - -1. xxxx -2. xxxx -3. xxxx - -#### Instructions - -1. xxxx -2. xxxx -3. xxxx - -#### Contribution - -1. Fork the repository -2. Create Feat_xxx branch -3. Commit your code -4. Create Pull Request - - -#### Gitee Feature - -1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md -2. Gitee blog [blog.gitee.com](https://blog.gitee.com) -3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore) -4. The most valuable open source project [GVP](https://gitee.com/gvp) -5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help) -6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) +This multiversion branch has been deprecated, using [llvm-toolset-18](https://gitee.com/src-openeuler/llvm-toolset-18) instead. diff --git a/README.md b/README.md index 4e5be1603cb510a285f883f9055a7854a5f42375..d0ed41a56c63062c1168c10695df8379429b01b0 100644 --- a/README.md +++ b/README.md @@ -1,37 +1,3 @@ # openmp-latest -#### 介绍 -LLVM OpenMP Libraries - -#### 软件架构 -软件架构说明 - - -#### 安装教程 - -1. xxxx -2. xxxx -3. xxxx - -#### 使用说明 - -1. xxxx -2. xxxx -3. xxxx - -#### 参与贡献 - -1. Fork 本仓库 -2. 新建 Feat_xxx 分支 -3. 提交代码 -4. 新建 Pull Request - - -#### 特技 - -1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md -2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) -3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 -4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 -5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) -6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) +该多版本分支已废弃, 使用 [llvm-toolset-18](https://gitee.com/src-openeuler/llvm-toolset-18) 替代. diff --git a/openmp-18.1.8.src.tar.xz b/openmp-18.1.8.src.tar.xz deleted file mode 100644 index 5a5adcad35f4a22cedfb46cfdc36943d5348021f..0000000000000000000000000000000000000000 Binary files a/openmp-18.1.8.src.tar.xz and /dev/null differ diff --git a/openmp.spec b/openmp.spec deleted file mode 100644 index 8a43bde9efde7526a7dc7cb871d1fba45b6c5534..0000000000000000000000000000000000000000 --- a/openmp.spec +++ /dev/null @@ -1,161 +0,0 @@ -%bcond_with check -%bcond_without toolchain_clang - -%global toolchain clang - -%global maj_ver 18 -%global min_ver 1 -%global patch_ver 8 -%global openmp_version %{maj_ver}.%{min_ver}.%{patch_ver} -%global openmp_srcdir openmp-%{openmp_version}.src - -%global _scl_prefix /opt/openEuler -%{?scl:%scl_package %scl} -%{!?scl:%global scl_prefix llvm-toolset-%{maj_ver}-} -%{!?scl:%global pkg_name %{name}} -%global install_prefix %{!?scl:%{_scl_prefix}/llvm-toolset-%{maj_ver}/root}%{_prefix} -%global install_datadir %{!?scl:%{_scl_prefix}/llvm-toolset-%{maj_ver}/root}%{_datadir} - -%global install_includedir %{install_prefix}/include -%global install_libdir %{install_prefix}/%{_lib} -%global install_libexecdir %{install_prefix}/libexec -%global install_sharedir %{install_prefix}/share - -%ifarch ppc64le -%global libomp_arch ppc64 -%else -%global libomp_arch %{_arch} -%endif - -Name: %{?scl_prefix}openmp -Version: %{openmp_version} -Release: 2 -Summary: OpenMP runtime for clang - -License: Apache License 2.0 -URL: http://openmp.llvm.org -Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{openmp_version}/%{openmp_srcdir}.tar.xz - -BuildRequires: gcc gcc-c++ -BuildRequires: cmake -BuildRequires: ninja-build -BuildRequires: elfutils-libelf-devel -BuildRequires: perl -BuildRequires: perl-Data-Dumper -BuildRequires: perl-Encode -BuildRequires: libffi-devel -%if "%toolchain" == "clang" -BuildRequires: clang -%endif -BuildRequires: %{?scl_prefix}clang -BuildRequires: %{?scl_prefix}clang-tools-extra - -BuildRequires: %{?scl_prefix}llvm-devel %{?scl_prefix}llvm-test -BuildRequires: %{?scl_prefix}llvm-cmake-utils = %{version} - -Requires: elfutils-libelf%{?isa} - -%description -OpenMP runtime for clang. - -%package devel -Summary: OpenMP header files -Requires: %{pkg_name}%{?isa} = %{version}-%{release} -Requires: %{?scl_prefix}clang-resource-filesystem%{?isa} = %{version} - -%description devel -OpenMP header files. - -%prep -%autosetup -n %{openmp_srcdir} -p2 - -%build - -%cmake -GNinja \ - -DCMAKE_INSTALL_PREFIX=%{install_prefix} \ - -DLIBOMP_INSTALL_ALIASES=OFF \ - -DCMAKE_MODULE_PATH=%{install_datadir}/llvm/cmake/Modules \ - -DLLVM_DIR=%{install_libdir}/cmake/llvm \ - -DCMAKE_INSTALL_INCLUDEDIR=%{install_libdir}/clang/%{maj_ver}/include \ -%if 0%{?__isa_bits} == 64 - -DOPENMP_LIBDIR_SUFFIX=64 \ -%else - -DOPENMP_LIBDIR_SUFFIX= \ -%endif -%if "%{toolchain}" == "clang" - -DCMAKE_C_COMPILER=clang \ - -DCMAKE_CXX_COMPILER=clang++ \ -%endif - -DCMAKE_SKIP_RPATH:BOOL=ON - -%ninja_build - -%install -%ninja_install -rm -rf %{buildroot}%{install_libdir}/libarcher_static.a - -%check - -%files -%license LICENSE.TXT -%{install_libdir}/libomp.so -%{install_libdir}/libompd.so -%ifnarch %{arm} -%{install_libdir}/libarcher.so -%endif -%ifnarch %{ix86} %{arm} riscv64 -# libomptarget is not supported on 32-bit systems. -%{install_libdir}/libomptarget.rtl.amdgpu.so.%{maj_ver}.%{min_ver} -%{install_libdir}/libomptarget.rtl.cuda.so.%{maj_ver}.%{min_ver} -%{install_libdir}/libomptarget.rtl.%{libomp_arch}.so.%{maj_ver}.%{min_ver} -%endif -%ifnarch %{ix86} %{arm} -%{install_libdir}/libomptarget.so.%{maj_ver}.%{min_ver} -%endif - -%files devel -%{install_libdir}/clang/%{maj_ver}/include/omp.h -%{install_libdir}/clang/%{maj_ver}/include/ompx.h -%{install_libdir}/cmake/openmp/ -%ifnarch %{arm} -%{install_libdir}/clang/%{maj_ver}/include/omp-tools.h -%{install_libdir}/clang/%{maj_ver}/include/ompt.h -%{install_libdir}/clang/%{maj_ver}/include/ompt-multiplex.h -%endif -%ifnarch %{ix86} %{arm} -# libomptarget is not supported on 32-bit systems. -%ifnarch riscv64 -%{install_libdir}/libomptarget.rtl.amdgpu.so -%{install_libdir}/libomptarget.rtl.cuda.so -%{install_libdir}/libomptarget.rtl.%{libomp_arch}.so -%endif -%{install_libdir}/libomptarget.devicertl.a -%{install_libdir}/libomptarget-amdgpu-*.bc -%{install_libdir}/libomptarget-nvptx-*.bc -%{install_libdir}/libomptarget.so -%endif - -%changelog -* Tue Dec 31 2024 laokz - 18.1.8-2 -- riscv64: fix unpackaged libomptarget.so.18 - -* Fri Dec 6 2024 liyunfei - 18.1.8-1 -- init for Multi-Version LLVM-18.1.8 - -* Sun Nov 10 2024 Funda Wang - 17.0.6-5 -- adopt to new cmake macro - -* Tue Aug 20 2024 liyunfei - 17.0.6-4 -- Add BiSheng Autotuner support. - -* Fri Jul 5 2024 liyunfei - 17.0.6-3 -- Add toolchain_clang build support - -* Wed Jun 05 2024 Wenlong Zhang - 17.0.6-2 -- fix build error for loongarch64 - -* Mon Dec 4 2023 zhoujing - 17.0.6-1 -- Update to 17.0.6 - -* Sat Aug 26 2023 cf-zhao - 12.0.1-1 -- Initial version to 12.0.1 diff --git a/openmp.yaml b/openmp.yaml deleted file mode 100644 index c7c50f6ac87dd806f0574c6b3a4fd97b11d3e479..0000000000000000000000000000000000000000 --- a/openmp.yaml +++ /dev/null @@ -1,4 +0,0 @@ -version_control: github -src_repo: llvm/llvm-project -tag_prefix: ^llvmorg- -separator: .