diff --git a/.gitattributes b/.gitattributes index 4fceefcdbfe57c5337f18ad33b484be9f5a286d6..34709aa7f4079f4b69f1529a887aacab88f40337 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1 @@ -llvm-for-oE-17.0.6-2503.0.2.tar.gz filter=lfs diff=lfs merge=lfs -text +llvm-for-oE-17.0.6-*.tar.gz filter=lfs diff=lfs merge=lfs -text diff --git a/llvm-for-oE-17.0.6-2506.0.4.tar.gz b/llvm-for-oE-17.0.6-2506.0.4.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..171f896de39b0f6dac45da2dda89362360f79b53 --- /dev/null +++ b/llvm-for-oE-17.0.6-2506.0.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:db05405706279885e543dd562d7f2887fd433eb10dae819811df7d588e8548b3 +size 212541296 diff --git a/llvm.spec b/llvm.spec index e16fc53db456be38dfb4e3040bdb57cab4bc55d7..852450cffd20cc4d8d371a50a4e8e720b9f785b5 100644 --- a/llvm.spec +++ b/llvm.spec @@ -28,7 +28,7 @@ %undefine __cmake_in_source_build -%global src_tarball llvm-for-oE-17.0.6-2503.0.2 +%global src_tarball llvm-for-oE-17.0.6-2506.0.4 %global src_tarball_dir llvm-project-%{src_tarball} #region LLVM globals @@ -152,7 +152,7 @@ Name: llvm Name: llvm-toolset-%{maj_ver} %endif Version: %{maj_ver}.%{min_ver}.%{patch_ver} -Release: 38 +Release: 45 Summary: The Low Level Virtual Machine License: NCSA @@ -324,7 +324,6 @@ programs that use the LLVM infrastructure. %package -n %{pkg_name_llvm}-doc Summary: Documentation for LLVM BuildArch: noarch -Requires: %{pkg_name_llvm} = %{version}-%{release} Provides: %{pkg_name_llvm}-help = %{version}-%{release} Obsoletes: %{pkg_name_llvm}-help < %{version}-%{release} @@ -594,7 +593,7 @@ URL: http://lldb.llvm.org/ Requires: %{pkg_name_clang}-libs%{?_isa} = %{version}-%{release} %if %{with sys_llvm} -Requires: python%{python3_pkgversion}-lldb +Requires: python%{python3_pkgversion}-lldb = %{version}-%{release} %endif %description -n %{pkg_name_lldb} @@ -1908,6 +1907,33 @@ export LIT_XFAIL="$LIT_XFAIL;mlir-pdll-lsp-server/view-output.test" export LIT_XFAIL="$LIT_XFAIL;Target/LLVMIR/arm-sme.mlir" +# Following testcases depend on MCJIT which is not supported on LoongArch. +%ifarch loongarch64 +export LIT_XFAIL="$LIT_XFAIL;mlir-cpu-runner/async-error.mlir" +export LIT_XFAIL="$LIT_XFAIL;mlir-cpu-runner/async-func.mlir" +export LIT_XFAIL="$LIT_XFAIL;mlir-cpu-runner/async-group.mlir" +export LIT_XFAIL="$LIT_XFAIL;mlir-cpu-runner/async-value.mlir" +export LIT_XFAIL="$LIT_XFAIL;mlir-cpu-runner/async.mlir" +export LIT_XFAIL="$LIT_XFAIL;mlir-cpu-runner/bare-ptr-call-conv.mlir" +export LIT_XFAIL="$LIT_XFAIL;mlir-cpu-runner/copy.mlir" +export LIT_XFAIL="$LIT_XFAIL;mlir-cpu-runner/expand-arith-ops.mlir" +export LIT_XFAIL="$LIT_XFAIL;mlir-cpu-runner/global-memref.mlir" +export LIT_XFAIL="$LIT_XFAIL;mlir-cpu-runner/math-polynomial-approx.mlir" +export LIT_XFAIL="$LIT_XFAIL;mlir-cpu-runner/memref-reinterpret-cast.mlir" +export LIT_XFAIL="$LIT_XFAIL;mlir-cpu-runner/memref-reshape.mlir" +export LIT_XFAIL="$LIT_XFAIL;mlir-cpu-runner/print.mlir" +export LIT_XFAIL="$LIT_XFAIL;mlir-cpu-runner/sgemm-naive-codegen.mlir" +export LIT_XFAIL="$LIT_XFAIL;mlir-cpu-runner/simple.mlir" +export LIT_XFAIL="$LIT_XFAIL;mlir-cpu-runner/test-expand-math-approx.mlir" +export LIT_XFAIL="$LIT_XFAIL;mlir-cpu-runner/unranked-memref.mlir" +export LIT_XFAIL="$LIT_XFAIL;mlir-cpu-runner/utils.mlir" +export LIT_XFAIL="$LIT_XFAIL;ExecutionEngine/./MLIRExecutionEngineTests/4/10" +export LIT_XFAIL="$LIT_XFAIL;ExecutionEngine/./MLIRExecutionEngineTests/5/10" +export LIT_XFAIL="$LIT_XFAIL;ExecutionEngine/./MLIRExecutionEngineTests/6/10" +export LIT_XFAIL="$LIT_XFAIL;ExecutionEngine/./MLIRExecutionEngineTests/7/10" +export LIT_XFAIL="$LIT_XFAIL;ExecutionEngine/./MLIRExecutionEngineTests/8/10" +export LIT_XFAIL="$LIT_XFAIL;ExecutionEngine/./MLIRExecutionEngineTests/9/10" +%endif # The ml_dtypes python module required by mlir/test/python/execution_engine.py # isn't packaged. test_list_filter_out+=("MLIR :: python/execution_engine.py") @@ -2571,7 +2597,7 @@ fi %{_prefix}/lib/clang/%{maj_ver}/lib/%{compiler_rt_triple}/clang_rt.crtend.o %endif -%ifnarch %{ix86} s390x riscv64 +%ifnarch %{ix86} s390x riscv64 loongarch64 %{install_libdir}/clang/%{maj_ver}/lib/%{compiler_rt_triple}/liborc_rt.a %endif @@ -2624,7 +2650,7 @@ fi %ifnarch %{ix86} # libomptarget is not supported on 32-bit systems. # s390x does not support the offloading plugins. -%ifnarch riscv64 +%ifnarch riscv64 loongarch64 %{install_libdir}/libomptarget.rtl.amdgpu.so %{install_libdir}/libomptarget.rtl.cuda.so %{install_libdir}/libomptarget.rtl.%{libomp_arch}.so @@ -2855,6 +2881,40 @@ fi #endregion files %changelog +* Wed Jun 18 2025 liyunfei - 17.0.6-46 +- update to llvm-for-oe-17.0.6-2506.0.4 +- release-note https://gitee.com/openeuler/llvm-project/releases/tag/llvm-for-oE-17.0.6-2506.0.4 + +* Fri Jun 13 2025 liyunfei - 17.0.6-45 +- [ICP] Enable promotion of more targets +- [bugfix] Constant folding for long double type lib call is only supported for logl. +- switch to gcc build for bootstrap building failure + +* Thu Jun 12 2025 liyunfei - 17.0.6-44 +- update to llvm-for-oe-17.0.6-2506.0.3 +- release-note https://gitee.com/openeuler/llvm-project/releases/tag/llvm-for-oE-17.0.6-2506.0.3 + +* Wed Jun 11 2025 hongjinghao - 17.0.6-43 +- llvm-doc delete unused Requires (llvm) + +* Wed Jun 04 2025 liyunfei - 17.0.6-42 +- update to llvm-for-oe-17.0.6-2506.0.2 +- release-note https://gitee.com/openeuler/llvm-project/releases/tag/llvm-for-oE-17.0.6-2506.0.2 +- add a small patch for backport testcase issue fix + +* Thu May 29 2025 wangqiang - 17.0.6-41 +- Modified python3-lldb dependency to require exact version match + +* Thu May 08 2025 chenli - 17.0.6-40 +- LoongArch: Fix mlir testcases which depend on MCJIT +- LoongArch: Fix liborc_rt.a file not found +- LoongArch: Fix openmp build +- LoongArch: Fix libomptarget.rtl.amdgpu|cuda|loonarch64.so file not found + +* Thu May 08 2025 liyunfei - 17.0.6-39 +- update to llvm-for-oe-17.0.6-2506.0.1 +- release-note https://gitee.com/openeuler/llvm-project/compare/llvm-for-oE-17.0.6-2503.0.2...llvm-for-oE-17.0.6-2506.0.1 + * Tue Apr 22 2025 liyunfei - 17.0.6-38 - llvm-mlir add obsoletes mlir - openmp add obsoletes libomp