From daa1c6ade39e81b1d49158ba90bee63cae001fcf Mon Sep 17 00:00:00 2001 From: Alex Xie Date: Tue, 25 Jun 2024 11:43:49 -0400 Subject: [PATCH] SWDEV-469252 - Remove Macro definition to use other method Change-Id: I6d6b242030938c48859fd6b0157a418a6af5a0b0 [ROCm/clr commit: 12c18ed61079215ef5d34eab6a65ad700f7efd3e] --- projects/clr/rocclr/cmake/ROCclrPAL.cmake | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/projects/clr/rocclr/cmake/ROCclrPAL.cmake b/projects/clr/rocclr/cmake/ROCclrPAL.cmake index 87a97c61ba..5ca218c398 100644 --- a/projects/clr/rocclr/cmake/ROCclrPAL.cmake +++ b/projects/clr/rocclr/cmake/ROCclrPAL.cmake @@ -36,14 +36,19 @@ set(PAL_BUILD_SECURITY OFF) set(PAL_SPPAP_CLOSED_SOURCE OFF) set(PAL_BUILD_GFX ON) set(PAL_BUILD_NULL_DEVICE OFF) + + +# The following flags force on certain ASIC support +# This is used for development and test purpose +# Please do not set following flags in staging and mainline in new ASICs set(PAL_BUILD_GFX6 ON) set(PAL_BUILD_GFX9 ON) set(PAL_BUILD_GFX11 ON) -set(PAL_BUILD_GFX12 ON) set(PAL_BUILD_NAVI31 ON) set(PAL_BUILD_NAVI32 ON) set(PAL_BUILD_NAVI33 ON) set(PAL_BUILD_PHOENIX1 ON) +# Please do not set above flags in staging and mainline in new ASICs set(PAL_BRANCHDEFS ON)