The HIP_PATH env var has been broken by an earlier patch to change the
linking to the HIP runtime with --hip-link in hipcc. We need to detect
when the HIP_PATH env var is defined, we have to pass that to the clang.
Change-Id: Iea939893844cce426d4bc4ace3539fc241363ff3
[ROCm/hip commit: 3fb0920a55]
hipcc should not pass --hip-device-lib-path to clang by default so that clang
decicde device lib path by itself.
hipcc only passes --hip-device-lib-path to clang if env var DEVICE_LIB_PATH
is specified.
DEVICE_LIB_PATH should be depricated in the future and users should use
--hip-device-lib-path instead.
Change-Id: I1ada35fb438643cbe68da777e3881aaa935162fa
[ROCm/hip commit: e18cbe64c1]
- deprecate -use-staticlib, -use-sharedlib which no longer provide any
functional values
- use --hip-link instead of specifying the HIP runtime by name when
linking
- fix linker option bug in HIT test's cmake
- update build options for unit tests requiring pthread or rt
Change-Id: Ib49978773c80fb40c71dc52b050ce921943ee3e4
[ROCm/hip commit: a388eb1e6f]
HSA_PATH is not required in hipcc and removed from hipvars and hipcc.pl as part of SWDEV-345870.
The incomplete removal is causing build failure in pytorch due to invalid hip version
Removing HSA_PATH from hipconfig.pl, so that hipconfig will provide the hip version without any warning
Depends-On: Ia461cb4da2c0e0967703033f5c2c79b67732f5b5
Change-Id: I8f18b27f40f4080b68a936450ba6e092f997ec47
[ROCm/hip commit: e1bbdf5750]
hip-clang can handle hip offload-bundles now, so no need to extract them separately in archives (.a) or object files (.o)
Change-Id: I764243c172a4912d64dbfb318470bf36e066756d
[ROCm/hip commit: 165843e94b]
With file reorganization, HIP installed in /opt/rocm-ver
Use the install path rather than using backward compatible path.
HSA_PATH is not at all required in hipcc and removed the same
Change-Id: Ia461cb4da2c0e0967703033f5c2c79b67732f5b5
[ROCm/hip commit: 388432384f]
Don't pass the --enable-new-dtags flag to clang, just the LLVM's default
Change-Id: I2bd06181c490e1c0fec3241a404b546de3ebe970
[ROCm/hip commit: 5e7b7e11a5]
It doesn't seem to provide any functionality, probably leftover from some experimental codes.
Change-Id: I1720ccf29e057d7f2e18a7dfd1adccd3d51fa80c
[ROCm/hip commit: cb084f4072]
On Windows build failures were ignored becasue hipcc script ignored the output of hipcc.pl
Also disables catch2 deviceLib testset on Windows due to linking issue.
This makes sure that we have a baseline of no build failures on Windows
Change-Id: I007a2a47e69ce1ae69e5569bbef4c63a636110ee
[ROCm/hip commit: 3cccb105f6]
Related changes for HIP installation in /opt/rocm
Setting HIP_PATH and ROCM_PATH
Setting INTERFACE directories
Depends-On: If70b61020fa3ee85bf49171c842837da05191a48
Change-Id: I30adccf7e6241dae12270156602d4b033ea99d93
[ROCm/hip commit: a296100da7]
Stop passing this flag to Clang since it's already the default option
Change-Id: I164f973603dcc2bf02a29939a02af1e0413729b5
[ROCm/hip commit: cb0a5b3b53]
* SWDEV-314372 - Refactor hipcc and hipconfig scripts
- Rename original hipcc to hipcc.pl
- Rename original hipconfig to hipconfig.pl
- New hipcc to invoke either hipcc.pl or hipcc.bin based on env var
- New hipconfig to invoke either hipconfig.pl or hipconfig.bin based on env var
* SWDEV-314372 - Add executable permissions to hipcc and hipconfig
[ROCm/hip commit: c447b392d7]
* SWDEV-273235 - hip change to build catch tests on Windows
Change-Id: I96de305694609c669cb81480f3572d987ce87d98
* SWDEV-1 - skip failing hipStreamPerThread_DeviceReset_1 test on Linux
[ROCm/hip commit: ffe3f9cf81]
* Delete duplicate files - hipify-perl and helper scripts
* Update link for hipconvertinplace-perl.sh references
* Remove remaining references to hipify-clang and contents of its package
* Hyperlink hipexamine-perl.sh in docs/markdown/hip_porting_guide.md
[ROCm/hip commit: 6902f11835]