Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 860286 Details for
Bug 904492
sci-libs/clfft-2.12.2-r1::science riscv support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Applying this patch allows this package to emerge and run on a RISC V Platform
clfft.patch (text/plain), 758 bytes, created by
Andrew Cameron
on 2023-04-17 21:43:48 UTC
(
hide
)
Description:
Applying this patch allows this package to emerge and run on a RISC V Platform
Filename:
MIME Type:
Creator:
Andrew Cameron
Created:
2023-04-17 21:43:48 UTC
Size:
758 bytes
patch
obsolete
>diff -Naur a/CMakeLists.txt b/CMakeLists.txt >--- a/CMakeLists.txt 2023-04-17 22:04:27.899870336 +0100 >+++ b/CMakeLists.txt 2023-04-17 22:08:58.595166323 +0100 >@@ -220,8 +220,13 @@ > endif( ) > > if( BUILD64 ) >- set( CMAKE_CXX_FLAGS "-m64 ${CMAKE_CXX_FLAGS}" ) >- set( CMAKE_C_FLAGS "-m64 ${CMAKE_C_FLAGS}" ) >+ if(CMAKE_SYSTEM_PROCESSOR STREQUAL "riscv64") >+ set( CMAKE_CXX_FLAGS "-pedantic -fpermissive ${CMAKE_CXX_FLAGS}" ) >+ set( CMAKE_C_FLAGS "-pedantic -fpermissive ${CMAKE_C_FLAGS}" ) >+ else() >+ set( CMAKE_CXX_FLAGS "-m64 ${CMAKE_CXX_FLAGS}" ) >+ set( CMAKE_C_FLAGS "-m64 ${CMAKE_C_FLAGS}" ) >+ endif() > else( ) > set( CMAKE_CXX_FLAGS "-m32 ${CMAKE_CXX_FLAGS}" ) > set( CMAKE_C_FLAGS "-m32 ${CMAKE_C_FLAGS}" )
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 904492
: 860286 |
860287
|
860288