Bug 1188542 - onednn fails to build on older CPUs
Summary: onednn fails to build on older CPUs
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other (show other bugs)
Version: Current
Hardware: Other All
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Christian Goll
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-21 08:03 UTC by Bernhard Wiedemann
Modified: 2021-07-21 08:19 UTC (History)
2 users (show)

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
full build log with Opteron_G3 emulation (77.12 KB, application/x-xz)
2021-07-21 08:12 UTC, Bernhard Wiedemann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Wiedemann 2021-07-21 08:03:05 UTC
While working on reproducible builds for openSUSE, I found that
our onednn package fails to build on older CPUs


Steps to Reproduce:
osc co openSUSE:Factory/onednn && cd $_
osc build --vm-type=kvm --noservice --clean --build-opt=--vm-custom-opt="-cpu kvm64"

Actual Results:
 The following tests FAILED:
         54 - test_gemm_f32_cpu (Failed)
         85 - test_isa_iface_cpu (Failed)



 [ RUN      ] isa_set_once_test.TestISASetOnce
 /home/abuild/rpmbuild/BUILD/oneDNN-2.2.4/tests/gtests/test_isa_iface.cpp:43: Failure
 Value of: mayiuse(cpu_isa::sse41)
   Actual: false
 Expected: true
 [  FAILED  ] isa_set_once_test.TestISASetOnce (0 ms)
Comment 1 Bernhard Wiedemann 2021-07-21 08:12:36 UTC
Created attachment 851136 [details]
full build log with Opteron_G3 emulation

from current onednn 2.2.4

The 54 - test_gemm_f32_cpu part above was from an older version.