riscv64-071-gcc.toolchain.cmake 410 B

123456789
  1. set(CMAKE_SYSTEM_NAME "Linux")
  2. set(CMAKE_C_COMPILER riscv64-unknown-linux-gnu-gcc)
  3. set(CMAKE_CXX_COMPILER riscv64-unknown-linux-gnu-g++)
  4. set(CMAKE_CXX_FLAGS "" CACHE STRING "")
  5. set(CMAKE_C_FLAGS "" CACHE STRING "")
  6. set(CMAKE_CXX_FLAGS "-static -march=rv64gcvxthead -mabi=lp64v -pthread -D__riscv_vector_071")
  7. set(CMAKE_C_FLAGS "-static -march=rv64gcvxthead -mabi=lp64v -pthread -D__riscv_vector_071")