summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-04-16 06:55:18 +0000
committerCoprDistGit <infra@openeuler.org>2024-04-16 06:55:18 +0000
commit285952b7f02293588ae3222cdc504aed25312c03 (patch)
tree92614d90451d0bc615caa596e6e7018cda631c45
parent3e1003b1db61824e11adac8240bdfa961a144faa (diff)
automatic import of sentencepiece
-rw-r--r--sentencepiece.spec12
1 files changed, 6 insertions, 6 deletions
diff --git a/sentencepiece.spec b/sentencepiece.spec
index d6b8f66..dec41a5 100644
--- a/sentencepiece.spec
+++ b/sentencepiece.spec
@@ -63,15 +63,15 @@ This package contains Python3 module file for SentencePiece.
-DCMAKE_BUILD_TYPE=Release \
%cmake_build
-pushd python
-CFLAGS="-I../src" LDFLAGS="-L../%{_vpath_builddir}/src -lsentencepiece" PKG_CONFIG_PATH="../%{_vpath_builddir}" %py3_build
-popd
+# pushd python
+# CFLAGS="-I../src" LDFLAGS="-L../%{_vpath_builddir}/src -lsentencepiece" PKG_CONFIG_PATH="../%{_vpath_builddir}" %py3_build
+# popd
%install
%cmake_install
-pushd python
-%py3_install
-popd
+# pushd python
+# %py3_install
+# popd
rm %{buildroot}%{_libdir}/libsentencepiece*.a