diff --git a/projects/amdsmi/.gitignore b/projects/amdsmi/.gitignore index 7a0cc125c7..af09e3a112 100644 --- a/projects/amdsmi/.gitignore +++ b/projects/amdsmi/.gitignore @@ -14,7 +14,6 @@ cmake/build/ oam/include/oam/oamConfig.h python_smi_tools/rsmiBindings.py include/amd_smi/amd_smi64Config.h -include/amd_smi/amd_smiConfig.h rocm_smi/include/rocm_smi/rocm_smi64Config.h docs/*.pdf goamdsmi_shim/include/goamdsmi_shimConfig.h diff --git a/projects/amdsmi/CMakeLists.txt b/projects/amdsmi/CMakeLists.txt index d4a74defdd..e2e24085e3 100644 --- a/projects/amdsmi/CMakeLists.txt +++ b/projects/amdsmi/CMakeLists.txt @@ -325,8 +325,6 @@ export(TARGETS ${AMD_SMI} FILE "${PROJECT_BINARY_DIR}/amd_smi_target.cmake") # (this registers the build-tree with a global CMake-registry) export(PACKAGE ${AMD_SMI}) -# Create the amd_smiConfig.cmake and amd_smiConfigVersion files -# ... for the build tree install( EXPORT amd_smiTargets DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${AMD_SMI} diff --git a/projects/amdsmi/src/amd_smiConfig.in b/projects/amdsmi/src/amd_smiConfig.in deleted file mode 100644 index 620cda2221..0000000000 --- a/projects/amdsmi/src/amd_smiConfig.in +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Advanced Micro Devices, Inc. All rights reserved. - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - */ - -#ifndef INCLUDE_AMD_SMI_AMD_SMICONFIG_H_ -#define INCLUDE_AMD_SMI_AMD_SMICONFIG_H_ - -// This file is generated on build. - -#define amd_smi_VERSION_MAJOR @amd_smi_VERSION_MAJOR@ -#define amd_smi_VERSION_MINOR @amd_smi_VERSION_MINOR@ -#define amd_smi_VERSION_PATCH @amd_smi_VERSION_PATCH@ -#define amd_smi_VERSION_BUILD "@amd_smi_VERSION_BUILD@" - -#endif // INCLUDE_AMD_SMI_AMD_SMICONFIG_H_