Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 725149 Details for
Bug 799257
dev-util/hip-4.2.0 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
hip-4.1_4.2.patch
hip-4.1_4.2.patch (text/plain), 5.17 KB, created by
Benda Xu
on 2021-07-19 11:35:37 UTC
(
hide
)
Description:
hip-4.1_4.2.patch
Filename:
MIME Type:
Creator:
Benda Xu
Created:
2021-07-19 11:35:37 UTC
Size:
5.17 KB
patch
obsolete
>--- hip-4.1.0/work/HIP-rocm-4.1.0/CMakeLists.txt 2021-07-19 19:22:42.720252015 +0800 >+++ hip-4.2.0/work/HIP-rocm-4.2.0/CMakeLists.txt 2021-07-19 19:24:37.927269022 +0800 >@@ -1,3 +1,22 @@ >+# Copyright (C) 2016-2021 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. >+ > cmake_minimum_required(VERSION 3.4.3) > project(hip) > >@@ -51,6 +70,7 @@ > string(REPLACE "." ";" VERSION_LIST ${HIP_BASE_VERSION}) > list(GET VERSION_LIST 0 HIP_VERSION_MAJOR) > list(GET VERSION_LIST 1 HIP_VERSION_MINOR) >+set(HIP_VERSION_GITDATE 0) > > find_package(Git) > >@@ -111,8 +131,6 @@ > endif() > message ( "Using CPACK_DEBIAN_PACKAGE_RELEASE ${CPACK_DEBIAN_PACKAGE_RELEASE}" ) > >-set(CPACK_DEBIAN_PACKAGE_DEPENDS "liburi-encode-perl libfile-basedir-perl, libfile-copy-recursive-perl, libfile-listing-perl, libfile-which-perl") >- > ## RPM package specific variables > if ( DEFINED ENV{CPACK_RPM_PACKAGE_RELEASE} ) > set ( CPACK_RPM_PACKAGE_RELEASE $ENV{CPACK_RPM_PACKAGE_RELEASE} ) >@@ -120,8 +138,6 @@ > set ( CPACK_RPM_PACKAGE_RELEASE "local" ) > endif() > >-set(CPACK_RPM_PACKAGE_REQUIRES "perl(URI::Encode), perl(File::Copy), perl(File::Listing), perl(File::Which), perl(File::BaseDir)") >- > ## 'dist' breaks manual builds on debian systems due to empty Provides > execute_process( COMMAND rpm --eval %{?dist} > RESULT_VARIABLE PROC_RESULT >@@ -148,7 +164,7 @@ > else () > set (HIP_LIB_VERSION_PATCH ${HIP_VERSION_PATCH}) > endif () >-set (HIP_LIB_VERSION_STRING 4.1.0) >+set (HIP_LIB_VERSION_STRING 4.2.0) > if (DEFINED ENV{ROCM_RPATH}) > set (CMAKE_INSTALL_RPATH "$ENV{ROCM_RPATH}") > set (CMAKE_BUILD_WITH_INSTALL_RPATH TRUE) >@@ -256,6 +272,7 @@ > set(LIB_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/lib) > set(INCLUDE_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/include) > set(CONFIG_PACKAGE_INSTALL_DIR ${LIB_INSTALL_DIR}/cmake/hip) >+set(CONFIG_LANG_PACKAGE_INSTALL_DIR ${LIB_INSTALL_DIR}/cmake/hip-lang) > > # Build clang hipify if enabled > if (BUILD_HIPIFY_CLANG) >@@ -282,11 +299,6 @@ > set(HIP_ROCclr_BUILD_FLAGS "${HIP_ROCclr_BUILD_FLAGS} -fPIC ${ROCclr_CXX_FLAGS} -I${HSA_PATH}/include") > set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${HIP_ROCclr_BUILD_FLAGS}") > set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${HIP_ROCclr_BUILD_FLAGS}") >- set(HCC_CXX_FLAGS "-hc -fno-gpu-rdc --amdgpu-target=gfx803 --amdgpu-target=gfx900 --amdgpu-target=gfx906 --amdgpu-target=gfx908 ") >-endif() >- >-if(HIP_PLATFORM STREQUAL "amd") >- add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/lpl_ca) > endif() > > # Generate .hipInfo >@@ -295,10 +307,6 @@ > # Generate .hipVersion > file(WRITE "${PROJECT_BINARY_DIR}/.hipVersion" ${_versionInfo}) > >-if(NOT DEFINED HIP_VERSION_GITDATE) >- set(HIP_VERSION_GITDATE 0) >-endif() >- > # Build doxygen documentation > find_program(DOXYGEN_EXE doxygen) > if(DOXYGEN_EXE) >@@ -324,18 +332,23 @@ > install(DIRECTORY rocclr DESTINATION .) > endif() > install(DIRECTORY bin DESTINATION . USE_SOURCE_PERMISSIONS) >+ >+ # The following two lines will be removed after upstream updation >+ install(CODE "MESSAGE(\"Removing ${CMAKE_INSTALL_PREFIX}/include\")") >+ install(CODE "file(REMOVE_RECURSE ${CMAKE_INSTALL_PREFIX}/include)") >+ > install(DIRECTORY include DESTINATION .) > install(DIRECTORY cmake DESTINATION .) > endif() > > # Install generated headers > # FIXME: Associate with individual targets. >-install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/include/hip/hcc_detail >- DESTINATION include/hip >- FILES_MATCHING PATTERN "*.h*") >-install(DIRECTORY ${PROJECT_BINARY_DIR}/include/hip >- DESTINATION include >- FILES_MATCHING PATTERN "*.h*") >+if(HIP_PLATFORM STREQUAL "amd") >+install(FILES ${PROJECT_BINARY_DIR}/include/hip/amd_detail/hip_prof_str.h >+ DESTINATION include/hip/amd_detail) >+endif() >+install(FILES ${PROJECT_BINARY_DIR}/include/hip/hip_version.h >+ DESTINATION include/hip) > > ############################# > # hip-config >@@ -377,8 +390,7 @@ > COMMAND cp *.deb ${PROJECT_BINARY_DIR} > COMMAND cp *.rpm ${PROJECT_BINARY_DIR} > COMMAND cp *.tar.gz ${PROJECT_BINARY_DIR} >- WORKING_DIRECTORY ${BUILD_DIR} >- DEPENDS lpl ca) >+ WORKING_DIRECTORY ${BUILD_DIR} ) > > # Packaging needs to wait for hipify-clang to build if it's enabled... > if (BUILD_HIPIFY_CLANG)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 799257
:
724933
| 725149