Revert "SWDEV-371628 - Shift device lib linking into clang driver"

This reverts commit a4c5c44008.

Reason for revert: Performance regressions and failures observed. Need to investigate those and before re-applying patch

Change-Id: I42ba0605797f9bdcfb5d5102927dd01405cf05e3
Этот коммит содержится в:
Jacob Lambert
2023-06-09 13:33:57 -04:00
коммит произвёл Maneesh Gupta
родитель a4bba6d705
Коммит 8047d8e3e8
2 изменённых файлов: 31 добавлений и 21 удалений
+3 -3
Просмотреть файл
@@ -457,13 +457,13 @@ class Program : public amd::HeapObject {
bool linkLLVMBitcode(const amd_comgr_data_set_t inputs,
const std::vector<std::string>& options,
amd::option::Options* amdOptions, amd_comgr_data_set_t* output,
char* binaryData[] = nullptr, size_t* binarySize = nullptr);
char* binaryData[] = nullptr, size_t* binarySize = nullptr,
const bool link_dev_libs = true);
//! Create the bitcode of the compiled input dataset
bool compileToLLVMBitcode(const amd_comgr_data_set_t compileInputs,
const std::vector<std::string>& options, amd::option::Options* amdOptions,
char* binaryData[], size_t* binarySize,
const bool link_dev_libs = true);
char* binaryData[], size_t* binarySize);
//! Compile and create the excutable of the input dataset
bool compileAndLinkExecutable(const amd_comgr_data_set_t inputs,