-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #98 from eidenyoshida/35cherrypick
* Fixing multiple inclusion of hip causing compile error (#97) * Centos8 additions to install script and CI (#94)
- Loading branch information
Showing
4 changed files
with
81 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# Parameters related to building rocsolver | ||
ARG base_image | ||
|
||
FROM ${base_image} | ||
LABEL maintainer="[email protected]" | ||
|
||
ARG user_uid | ||
|
||
# Install dependent packages | ||
RUN yum install -y --nogpgcheck\ | ||
sudo \ | ||
ca-certificates \ | ||
git \ | ||
cmake3 \ | ||
make \ | ||
gcc-c++ \ | ||
gcc-gfortran \ | ||
pkgconfig \ | ||
python27 \ | ||
python3 \ | ||
python3-devel \ | ||
python3-pip \ | ||
python3-pytest \ | ||
python3-setuptools \ | ||
python3-virtualenv \ | ||
python3-pyyaml \ | ||
llvm-devel \ | ||
llvm-static \ | ||
libcxx-devel \ | ||
boost-devel \ | ||
zlib-devel \ | ||
libgomp \ | ||
numactl-libs \ | ||
rpm-build | ||
|
||
RUN yum remove -y rocblas *gtest* | ||
|
||
# Grant any member of sudo group password-less sudo privileges | ||
RUN useradd --create-home -u ${user_uid} -o -G video --shell /bin/bash jenkins && \ | ||
echo '%video ALL=(ALL) NOPASSWD:ALL' | tee /etc/sudoers.d/sudo-nopasswd && \ | ||
chmod 400 /etc/sudoers.d/sudo-nopasswd | ||
|
||
ARG ROCBLAS_SRC_ROOT=/usr/local/src/rocBLAS | ||
|
||
# Clone rocblas repo | ||
# Build client dependencies and install into /usr/local (LAPACK & GTEST) | ||
RUN mkdir -p ${ROCBLAS_SRC_ROOT} && cd ${ROCBLAS_SRC_ROOT} && \ | ||
git clone -b develop --depth=1 https://github.com/ROCmSoftwarePlatform/rocBLAS . && \ | ||
mkdir -p build/deps && cd build/deps && \ | ||
cmake3 -DBUILD_BOOST=OFF ${ROCBLAS_SRC_ROOT}/deps && \ | ||
make -j $(nproc) install && \ | ||
rm -rf ${ROCBLAS_SRC_ROOT} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters