From c775721b260bb4cc739d1e62441fbe571fdbdbcb Mon Sep 17 00:00:00 2001 From: kjayapra-amd Date: Fri, 14 Jun 2024 11:12:50 -0400 Subject: [PATCH] SWDEV-446045 - Adding static library compilation info for HIP runtime. Change-Id: I24ad80d70f5f35cad19695861134a7ad98638754 --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 8b5b0730dc..4978b6a8f4 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,8 @@ Building clr requires `rocm-hip-libraries` meta package, which provides the pre- Users can also build `OCL` and `HIP` at the same time by passing `-DCLR_BUILD_HIP=ON -DCLR_BUILD_OCL=ON` to configure command. +HIP/CLR can be built as a static library by passing `-DBUILD_SHARED_LIBS=OFF` during the CLR `cmake` step. + For detail instructions, please refer to [how to build HIP](https://rocm.docs.amd.com/projects/HIP/en/latest/install/build.html) ## Tests