Skip to content

[hipFFT] Remove conditional from body of test's target_include_directories cmake clause#1381

Merged
regan-amd merged 1 commit into
developfrom
users/regan-amd/hipfft_cmake_fixes
Sep 5, 2025
Merged

[hipFFT] Remove conditional from body of test's target_include_directories cmake clause#1381
regan-amd merged 1 commit into
developfrom
users/regan-amd/hipfft_cmake_fixes

Conversation

@regan-amd
Copy link
Copy Markdown
Contributor

I believe such conditionals cannot be used within target_include_directories.

Current build lines on develop (when building hipfft's and its clients) are polluted, e.g. see the parts between ** delimiters in the copy-pasted following example:
/opt/rocm/llvm/bin/amdclang++ -DUSE_HIPRAND -DUSE_PROF_API=1 -D__HIP_PLATFORM_AMD__=1 -I/src/rocm-libraries/projects/hipfft/clients/tests/**if -I"/src/rocm-libraries/projects/hipfft/clients/tests/(" -I/src/rocm-libraries/projects/hipfft/clients/tests/HIPFFT_BUILD_SCOPE -I"/src/rocm-libraries/projects/hipfft/clients/tests/)" -I/src/rocm-libraries/projects/hipfft/clients/tests/../../library/include -I/src/rocm-libraries/projects/hipfft/clients/tests/endif** -I/src/rocm-libraries/projects/hipfft/library/include -I/src/rocm-libraries/projects/hipfft/build/include/hipfft -I/src/rocm-libraries/projects/hipfft/build/include [...]

I also think it's not necessary to explicitly add the intended inclusion to the cmake logic, as mentioned in that comment.

@regan-amd regan-amd requested a review from a team as a code owner August 27, 2025 21:54
@regan-amd regan-amd changed the title Remove conditional from body of test's target_include_directories cmake clause [hipFFT] Remove conditional from body of test's target_include_directories cmake clause Aug 28, 2025
Comment thread projects/hipfft/clients/tests/CMakeLists.txt
@regan-amd regan-amd merged commit d60501e into develop Sep 5, 2025
16 of 17 checks passed
@regan-amd regan-amd deleted the users/regan-amd/hipfft_cmake_fixes branch September 5, 2025 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants