Skip to content

Building on RISC-V 64bit on Linux #20

@Cryolitia

Description

@Cryolitia

Since #6 , is there any possible that openpgl could support riscv64gc.

I am building it on Arch Linux RISC-V :

  1. c++: error: unrecognized command-line option ‘-msse2’
    full log: https://archriscv.felixc.at/.status/log.htm?url=logs/openpgl/openpgl-0.6.0-1.log
  2. I add -DOPENPGL_ISA_SSE4=OFF and -DOPENPGL_ISA_AVX2=OFF then it's a fatal error Must have at least one ISA enabled.
  3. I delete the lines below

    openpgl/CMakeLists.txt

    Lines 69 to 75 in 17ddb61

    if(NOT (OPENPGL_ISA_NEON OR
    OPENPGL_ISA_NEON2X OR
    OPENPGL_ISA_SSE4 OR
    OPENPGL_ISA_AVX2 OR
    OPENPGL_ISA_AVX512))
    message(FATAL_ERROR "Must have at least one ISA enabled.")
    endif()

    And then
/build/openpgl/src/openpgl-0.6.0/openpgl/../third-party/embreeSrc/common/math/../sys/intrinsics.h:15:10: fatal error: immintrin.h: No such file or directory
   15 | #include <immintrin.h>
      |   

I would like to know whether openpgl is glad to continue to support riscv64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions