mirror of
https://github.com/ROCm/ROCm.git
synced 2026-01-10 23:28:03 -05:00
Compare commits
6 Commits
target-ext
...
cpattigi-p
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3337b4fd2a | ||
|
|
a069100d47 | ||
|
|
542d7813ce | ||
|
|
bc1ffe4fcb | ||
|
|
09997c68bb | ||
|
|
42bc3501ac |
@@ -127,6 +127,7 @@ bash install-prerequisites.sh
|
|||||||
export GPU_ARCHS="gfx942" # Example
|
export GPU_ARCHS="gfx942" # Example
|
||||||
export GPU_ARCHS="gfx940;gfx941;gfx942" # Example
|
export GPU_ARCHS="gfx940;gfx941;gfx942" # Example
|
||||||
|
|
||||||
|
cd ~/WORKSPACE/
|
||||||
# Pick and run build commands in the docker container:
|
# Pick and run build commands in the docker container:
|
||||||
# Build rocm-dev packages
|
# Build rocm-dev packages
|
||||||
make -f ROCm/tools/rocm-build/ROCm.mk -j ${NPROC:-$(nproc)} rocm-dev
|
make -f ROCm/tools/rocm-build/ROCm.mk -j ${NPROC:-$(nproc)} rocm-dev
|
||||||
|
|||||||
@@ -87,7 +87,6 @@ endef
|
|||||||
|
|
||||||
$(call adddep,amd_smi_lib,${ASAN_DEP})
|
$(call adddep,amd_smi_lib,${ASAN_DEP})
|
||||||
$(call adddep,aqlprofile,${ASAN_DEP} rocr)
|
$(call adddep,aqlprofile,${ASAN_DEP} rocr)
|
||||||
$(call adddep,aqlprofiletest,lightning rocminfo aqlprofile opencl_on_rocclr hip_on_rocclr)
|
|
||||||
$(call adddep,comgr,lightning devicelibs)
|
$(call adddep,comgr,lightning devicelibs)
|
||||||
$(call adddep,dbgapi,rocr comgr)
|
$(call adddep,dbgapi,rocr comgr)
|
||||||
$(call adddep,devicelibs,lightning)
|
$(call adddep,devicelibs,lightning)
|
||||||
@@ -115,7 +114,7 @@ $(call adddep,roctracer,${ASAN_DEP} rocr hip_on_rocclr)
|
|||||||
|
|
||||||
|
|
||||||
# rocm-dev points to all possible last finish components of Stage1 build.
|
# rocm-dev points to all possible last finish components of Stage1 build.
|
||||||
rocm-dev-components :=amd_smi_lib aqlprofile aqlprofiletest comgr dbgapi devicelibs hip_on_rocclr hipcc hipify_clang \
|
rocm-dev-components :=amd_smi_lib aqlprofile comgr dbgapi devicelibs hip_on_rocclr hipcc hipify_clang \
|
||||||
lightning rocprofiler-compute opencl_on_rocclr openmp_extras rocm_bandwidth_test rocm_smi_lib \
|
lightning rocprofiler-compute opencl_on_rocclr openmp_extras rocm_bandwidth_test rocm_smi_lib \
|
||||||
rocm-cmake rocm-core rocm-gdb rocminfo rocprofiler-register rocprofiler-sdk rocprofiler-systems \
|
rocm-cmake rocm-core rocm-gdb rocminfo rocprofiler-register rocprofiler-sdk rocprofiler-systems \
|
||||||
rocprofiler rocr rocr_debug_agent rocrsamples roctracer
|
rocprofiler rocr rocr_debug_agent rocrsamples roctracer
|
||||||
|
|||||||
@@ -255,8 +255,8 @@ print_output_directory() {
|
|||||||
# Common variables
|
# Common variables
|
||||||
target="build"
|
target="build"
|
||||||
|
|
||||||
kfdtest_target="yes"
|
kfdtest_target="no"
|
||||||
rocrtst_target="yes"
|
rocrtst_target="no"
|
||||||
rocr_target="ON"
|
rocr_target="ON"
|
||||||
|
|
||||||
package_root="$(getPackageRoot)"
|
package_root="$(getPackageRoot)"
|
||||||
|
|||||||
@@ -60,7 +60,6 @@ libfile-find-rule-perl
|
|||||||
libgflags-dev
|
libgflags-dev
|
||||||
libglew-dev
|
libglew-dev
|
||||||
libgmp-dev
|
libgmp-dev
|
||||||
libgoogle-glog-dev
|
|
||||||
libgtk2.0-dev
|
libgtk2.0-dev
|
||||||
libhdf5-serial-dev
|
libhdf5-serial-dev
|
||||||
libjpeg-dev
|
libjpeg-dev
|
||||||
@@ -90,7 +89,6 @@ libsuitesparse-dev
|
|||||||
libsystemd-dev
|
libsystemd-dev
|
||||||
libtinfo-dev
|
libtinfo-dev
|
||||||
libtool
|
libtool
|
||||||
libunwind-dev
|
|
||||||
liburi-encode-perl
|
liburi-encode-perl
|
||||||
libva-dev
|
libva-dev
|
||||||
libvirt-clients
|
libvirt-clients
|
||||||
@@ -98,7 +96,6 @@ libvirt-daemon-system
|
|||||||
libyaml-cpp-dev
|
libyaml-cpp-dev
|
||||||
libzstd-dev
|
libzstd-dev
|
||||||
llvm
|
llvm
|
||||||
llvm-6.0-dev
|
|
||||||
llvm-dev
|
llvm-dev
|
||||||
llvm-runtime
|
llvm-runtime
|
||||||
mesa-common-dev
|
mesa-common-dev
|
||||||
@@ -112,8 +109,7 @@ pigz
|
|||||||
pkg-config
|
pkg-config
|
||||||
protobuf-compiler
|
protobuf-compiler
|
||||||
python-is-python3
|
python-is-python3
|
||||||
python-pip-whl
|
python3-pip-whl
|
||||||
python-yaml
|
|
||||||
python3-dev
|
python3-dev
|
||||||
python3-pip
|
python3-pip
|
||||||
python3-venv
|
python3-venv
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ git --version
|
|||||||
|
|
||||||
# venv for python to be able to run pip3 without --break-system-packages
|
# venv for python to be able to run pip3 without --break-system-packages
|
||||||
python3 -m venv /opt/venv
|
python3 -m venv /opt/venv
|
||||||
|
source /opt/venv/bin/activate
|
||||||
pip3 install CppHeaderParser argparse lxml recommonmark jinja2==3.0.0 \
|
pip3 install CppHeaderParser argparse lxml recommonmark jinja2==3.0.0 \
|
||||||
websockets matplotlib numpy scipy minimal msgpack pytest sphinx joblib PyYAML rocm-docs-core cmake==3.25.2 pandas \
|
websockets matplotlib numpy scipy minimal msgpack pytest sphinx joblib PyYAML rocm-docs-core cmake==3.25.2 pandas \
|
||||||
myst-parser setuptools lit
|
myst-parser setuptools lit
|
||||||
|
|||||||
@@ -217,7 +217,7 @@ export RCCL_ROOT=$WORK_ROOT/rccl
|
|||||||
export ROCM_DBGAPI_ROOT=$WORK_ROOT/ROCdbgapi
|
export ROCM_DBGAPI_ROOT=$WORK_ROOT/ROCdbgapi
|
||||||
export ROCM_GDB_ROOT=$WORK_ROOT/ROCgdb
|
export ROCM_GDB_ROOT=$WORK_ROOT/ROCgdb
|
||||||
# export ROCclr_ROOT=$WORK_ROOT/vdi
|
# export ROCclr_ROOT=$WORK_ROOT/vdi
|
||||||
export HIP_ON_ROCclr_ROOT=$WORK_ROOT/HIP
|
export HIP_ON_ROCclr_ROOT=$WORK_ROOT/hip
|
||||||
export HIPAMD_ROOT=$WORK_ROOT/hipamd
|
export HIPAMD_ROOT=$WORK_ROOT/hipamd
|
||||||
export HIP_CATCH_TESTS_ROOT=$WORK_ROOT/hip-tests
|
export HIP_CATCH_TESTS_ROOT=$WORK_ROOT/hip-tests
|
||||||
# export OPENCL_ON_ROCclr_ROOT=$WORK_ROOT/opencl-on-vdi
|
# export OPENCL_ON_ROCclr_ROOT=$WORK_ROOT/opencl-on-vdi
|
||||||
|
|||||||
Reference in New Issue
Block a user