summaryrefslogtreecommitdiff
path: root/ANNC.spec
diff options
context:
space:
mode:
Diffstat (limited to 'ANNC.spec')
-rw-r--r--ANNC.spec14
1 files changed, 12 insertions, 2 deletions
diff --git a/ANNC.spec b/ANNC.spec
index 5dc8316..7b06320 100644
--- a/ANNC.spec
+++ b/ANNC.spec
@@ -12,7 +12,7 @@
Summary: %{name} is an AI compiler designed to optimize and compile ML model into high-performance executable code that can be executed on various targets.
Name: ANNC
Version: 0.0.2
-Release: 1
+Release: 2
# Package onnxruntime and SafeInt have MIT License.
# Package onnx has Apache License 2.0.
License: MIT and ASL 2.0 and Boost and BSD
@@ -26,6 +26,7 @@ Source5: v3.2.tar.gz
%ifarch x86_64
Patch0: x86_64_external_files.patch
%endif
+Patch1: 0001-fix-pattern-conflicts.patch
BuildRequires: cmake >= 3.9.9
BuildRequires: make
@@ -56,6 +57,7 @@ tar xf %{SOURCE4} -C .
mkdir proxy
cp %{SOURCE5} ./proxy
%setup -q -n %{pkg_version}
+%patch1 -p1
%build
export ANNC=%{build_dir}
@@ -120,6 +122,9 @@ pushd %{build_dir}/python
install -d %{install_includedir}
install %{build_dir}/annc/service/cpu/kdnn_rewriter.h -t %{install_includedir}
install %{build_dir}/annc/service/cpu/annc_flags.h -t %{install_includedir}
+install %{build_dir}/annc/service/cpu/xla/*.h -t %{install_includedir}
+install -d %{install_includedir}/bisheng-cpu
+install %{build_dir}/annc/service/bisheng-cpu/*.h -t %{install_includedir}/bisheng-cpu
cp -r %{build_dir}/install/* %{install_includedir}
install %{build_dir}/python/tensorflow/kernels/* -t %{install_includedir}
install -d %{install_libdir}
@@ -135,9 +140,14 @@ pushd %{build_dir}/python
%{_libdir}/*
%{python3_sitelib}/*
/usr/bin/annc-opt
-/usr/bin/annc-apply-tf
%changelog
+* Thu Sep 11 2025 Chenhui Zheng <zhengchenhui1@huawei.com> - 0.0.2-2
+- Type:Fix
+- ID:NA
+- SUG:NA
+- DEC:Fix pattern conflict & missing header files.
+
* Fri Aug 22 2025 Chenhui Zheng <zhengchenhui1@huawei.com> - 0.0.2-1
- Type:Update
- ID:NA