[Bug 1760617] Review Request: mmc - A GPU mesh-based Monte Carlo photon simulator

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1760617



--- Comment #32 from Qianqian Fang <fangqq@xxxxxxxxx> ---
@Ankur, the error was caused by the lack of support of SSE instructions on ARM,
here is part of the log


```
Building built/xorshift128p_rand.o
cc -c -Wall -g -DMCX_EMBED_CL -fno-strict-aliasing -DMMC_USE_SSE -DHAVE_SSE2
-msse -msse2 -msse3 -mssse3 -msse4.1 -O3 -fopenmp  -fPIC -DMCX_CONTAINER -O2 -g
-pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16
-mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -DUSE_OS_TIMER
-DUSE_OPENCL -I../src  -o built/xorshift128p_rand.o  xorshift128p_rand.c
cc1: error: unrecognized command-line option '-msse'
cc1: error: unrecognized command-line option '-msse2'
cc1: error: unrecognized command-line option '-msse3'
cc1: error: unrecognized command-line option '-mssse3'
cc1: error: unrecognized command-line option '-msse4.1'
make: *** [../commons/Makefile_common.mk:188: built/xorshift128p_rand.o] Error
1
```

I can use a conditional flag to let it compile without SSE, but I don't think
it is much useful, and requires some additional tweaks of my makefile, so I
think the best way moving forward is to exclude arm in this spec for now, and
support it for future updates.

I am wondering what is the right way to exclude arch? I added

ExcludeArch:   armv7h1

but does not seem to skip arm at in my koji --scratch build.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux