Skip to content

Commit

Permalink
llvmdev: add RISCV target
Browse files Browse the repository at this point in the history
  • Loading branch information
occheung committed Nov 22, 2021
1 parent 7ad8c8a commit a8959fe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion conda-recipes/llvmdev/bld.bat
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ REM === Configure step ===

REM allow setting the targets to build as an environment variable
if "%LLVM_TARGETS_TO_BUILD%"=="" (
set "LLVM_TARGETS_TO_BUILD=host;AMDGPU;NVPTX"
set "LLVM_TARGETS_TO_BUILD=host;AMDGPU;NVPTX;RISCV"
)
if "%ARCH%"=="32" (
set "ARCH_POSTFIX="
Expand Down
2 changes: 1 addition & 1 deletion conda-recipes/llvmdev/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
set -x

# allow setting the targets to build as an environment variable
LLVM_TARGETS_TO_BUILD=${LLVM_TARGETS_TO_BUILD:-"host;AMDGPU;NVPTX"}
LLVM_TARGETS_TO_BUILD=${LLVM_TARGETS_TO_BUILD:-"host;AMDGPU;NVPTX;RISCV"}

# This is the clang compiler prefix
DARWIN_TARGET=x86_64-apple-darwin13.4.0
Expand Down
2 changes: 1 addition & 1 deletion conda-recipes/llvmdev_manylinux2014/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ _cmake_config+=(-DHAVE_TERMIOS_H=OFF)
_cmake_config+=(-DCLANG_ENABLE_LIBXML=OFF)
_cmake_config+=(-DLIBOMP_INSTALL_ALIASES=OFF)
_cmake_config+=(-DLLVM_ENABLE_RTTI=OFF)
_cmake_config+=(-DLLVM_TARGETS_TO_BUILD="host;AMDGPU;NVPTX")
_cmake_config+=(-DLLVM_TARGETS_TO_BUILD="host;AMDGPU;NVPTX;RISCV")
_cmake_config+=(-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=WebAssembly)
_cmake_config+=(-DLLVM_INCLUDE_UTILS=ON) # for llvm-lit
# TODO :: It would be nice if we had a cross-ecosystem 'BUILD_TIME_LIMITED' env var we could use to
Expand Down

0 comments on commit a8959fe

Please sign in to comment.