From ca8ca30ede63e23b1bac11463b2e3be8abfc52aa Mon Sep 17 00:00:00 2001
From: foreman
Date: Wed, 3 Aug 2016 17:52:13 -0400
Subject: [PATCH] P4 to Git Change 1298740 by lmoriche@lmoriche_opencl_dev on
2016/08/03 17:43:07
SWDEV-94610 - Add the opencl_driver library to the amdocl link libs. Disable posix_spawn and futimens to meet the glibc <= 2.5 requirement.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#135 edit
... //depot/stg/opencl/drivers/opencl/make/llvm.git/linux/include/llvm/Config/config.h#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/build/Makefile.oclrocm#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#4 edit
[ROCm/clr commit: a0f181f07b75b9c4a9071540ff4607a6cb9a5f66]
---
projects/clr/rocclr/runtime/device/rocm/rocprogram.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/projects/clr/rocclr/runtime/device/rocm/rocprogram.cpp b/projects/clr/rocclr/runtime/device/rocm/rocprogram.cpp
index a442da513e..2140fad66e 100644
--- a/projects/clr/rocclr/runtime/device/rocm/rocprogram.cpp
+++ b/projects/clr/rocclr/runtime/device/rocm/rocprogram.cpp
@@ -13,6 +13,9 @@
#include "roccompilerlib.hpp"
#include "utils/bif_section_labels.hpp"
+#if defined(WITH_LIGHTNING_COMPILER)
+#include "driver/AmdCompiler.h"
+#endif // defined(WITH_LIGHTNING_COMPILER)
#include
#include