Skip to content

Commit

Permalink
Add rocm_cmake 5.2.3 (#5470)
Browse files Browse the repository at this point in the history
  • Loading branch information
pxl-th authored Sep 12, 2022
1 parent b027bbc commit ed9cbf0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
10 changes: 6 additions & 4 deletions R/rocm_cmake/common.jl
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
const NAME = "rocm_cmake"

const ROCM_GIT = "https://github.com/RadeonOpenCompute/rocm-cmake/"
const ROCM_TAGS = Dict(
v"4.2.0" => "299e190ec3d38c2279d9aec762469628f0b2b1867adc082edc5708d1ac785c3b",
v"4.5.2" => "85f2ef51327e4b09d81a221b4ad31c97923dabc1bc8ff127dd6c570742185751",
)
v"5.2.3" => "c63b707ec07d24fda5a2a6fffeda4df4cc04ceea5df3b8822cbe4e6600e358b4")
const ROCM_PLATFORMS = [
Platform("x86_64", "linux"; libc="glibc", cxxstring_abi="cxx11"),
Platform("x86_64", "linux"; libc="musl", cxxstring_abi="cxx11"),
]
Platform("x86_64", "linux"; libc="musl", cxxstring_abi="cxx11")]

const BUILDSCRIPT = raw"""
cd ${WORKSPACE}/srcdir/rocm-cmake*/
Expand All @@ -19,10 +20,11 @@ cmake \
make -j${nproc}
make install
install_license ${WORKSPACE}/srcdir/rocm-cmake*/LICENSE
"""

const PRODUCTS = [FileProduct("share/rocm/cmake", :cmake_dir)]
const NAME = "rocm_cmake"

function configure_build(version)
sources = [
Expand Down
7 changes: 7 additions & 0 deletions R/rocm_cmake/[email protected]/build_tarballs.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
using Pkg
using BinaryBuilder

include("../common.jl")
build_tarballs(
ARGS, configure_build(v"5.2.3")...;
preferred_gcc_version=v"7", preferred_llvm_version=v"9", julia_compat="1.9")

0 comments on commit ed9cbf0

Please sign in to comment.