- Fix the links for the CPU code to be generated on all available

platforms

OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/libmetal?expand=0&rev=3
This commit is contained in:
Tomáš Chvátal 2020-02-25 09:10:19 +00:00 committed by Git OBS Bridge
parent 44fe7c6071
commit 21c47283f9
2 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Feb 25 09:09:57 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Fix the links for the CPU code to be generated on all available
platforms
-------------------------------------------------------------------
Tue Feb 25 08:28:43 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -57,12 +57,13 @@ to develop applications that require these.
%prep
%setup -q -n libmetal-%{version}
%ifarch armv6l armv6hl
# set up our cpu names
ln -s arm lib/processor/armv6l
%endif
%ifarch armv7l armv7hl
ln -s arm lib/processor/armv7l
%endif
ln -s riscv lib/processor/riscv64
for i in %ix86; do
ln -s x86 lib/processor/$i
done
%build
%cmake \