P4 to Git Change 1613181 by wchau@wchau_OCL_cmake on 2018/10/01 14:34:03

SWDEV-165756 - [ROCm] Backport cmake back into perforce to resolve cmake build broken issue

	- porting CMAKE changes in http://git.amd.com:8080/#/c/173995/
	- add new source file names in runtime/CMakeLists.txt
	-- required additional changes of CMAKE files from Konstantin to build the current OCL driver using CMAKE

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#15 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#32 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#32 edit
... //depot/stg/opencl/drivers/opencl/runtime/CMakeLists.txt#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#13 edit
This commit is contained in:
foreman
2018-10-01 15:09:26 -04:00
vanhempi bc6be55a52
commit 0d5e7c39e2
4 muutettua tiedostoa jossa 47 lisäystä ja 13 poistoa
+3
Näytä tiedosto
@@ -39,6 +39,9 @@ add_library(oclruntime OBJECT
device/hwdebug.cpp
device/blitcl.cpp
device/blit.cpp
device/devkernel.cpp
device/devwavelimiter.cpp
device/devprogram.cpp
platform/kernel.cpp
platform/context.cpp
platform/command.cpp
@@ -13,13 +13,13 @@ add_library(oclrocm OBJECT
rocprogram.cpp
rocmemory.cpp
rocdevice.cpp
roccompiler.cpp
rocblit.cpp
rockernel.cpp
rocvirtual.cpp
rocglinterop.cpp
rocappprofile.cpp
rocsettings.cpp
rocschedcl.cpp
)
set_target_properties(oclrocm PROPERTIES POSITION_INDEPENDENT_CODE ON)