Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit d6e25e6

Browse files
author
Thales Sabino
committed
LCXL: Fix the build of CodeXL remote agent for ARM
LCXL: Bump version number.
1 parent daae54f commit d6e25e6

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

CodeXL/AMDTApplicationFramework/Include/LPGPU2ApplicationDefs.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
#define LPGPU2_CODEXL_APPLICATION_VERSION_MAJOR 3
1414
#define LPGPU2_CODEXL_APPLICATION_VERSION_MINOR 9
15-
#define LPGPU2_CODEXL_APPLICATION_VERSION_PATCH 2
15+
#define LPGPU2_CODEXL_APPLICATION_VERSION_PATCH 3
1616
#define LPGPU2_CODEXL_APPLICATION_VERSION_SUFFIX ""
1717

1818
#endif // LPGPU2_APPLICATION_DEFS_H

CodeXL/SConstruct

+6-4
Original file line numberDiff line numberDiff line change
@@ -283,12 +283,14 @@ CXL_env.Depends(LPGPU2FeedbackEngine_Obj, LPGPU2Database_Obj + Lua_Obj + pcre_Ob
283283
#--KB: LPGPU2
284284

285285
# LPGPU2 Power Model
286-
LPGPU2PowerModelsBase_Obj = SConscript('Components/PowerProfiling/LPGPU2PowerModeling/LPGPU2PowerModelsBase/SConscript', variant_dir=obj_variant_dir+'/LPGPU2PowerModelsBase', duplicate=1)
286+
# Only build the Power Model project if it isn't a remote-agent-only-build
287+
if (CXL_env['CXL_build_only_remote_agent'] == ''):
288+
LPGPU2PowerModelsBase_Obj = SConscript('Components/PowerProfiling/LPGPU2PowerModeling/LPGPU2PowerModelsBase/SConscript', variant_dir=obj_variant_dir+'/LPGPU2PowerModelsBase', duplicate=1)
287289

288-
ProfilerCommonPlugins += LPGPU2PowerModelsBase_Obj
290+
ProfilerCommonPlugins += LPGPU2PowerModelsBase_Obj
289291

290-
LPGPU2PowerModelsCli_Obj = SConscript('Components/PowerProfiling/LPGPU2PowerModeling/LPGPU2PowerModelsCLI/SConscript', variant_dir=obj_variant_dir+'/LPGPU2PowerModelsCLI', duplicate=1)
291-
ProfilerCommonPlugins += LPGPU2PowerModelsCli_Obj
292+
LPGPU2PowerModelsCli_Obj = SConscript('Components/PowerProfiling/LPGPU2PowerModeling/LPGPU2PowerModelsCLI/SConscript', variant_dir=obj_variant_dir+'/LPGPU2PowerModelsCLI', duplicate=1)
293+
ProfilerCommonPlugins += LPGPU2PowerModelsCli_Obj
292294

293295

294296
# LPGPU2 Power Model

0 commit comments

Comments
 (0)