reverting the changes present in 29017 as CFLAGS and CXXFLAGS which overrides defaults in other packages (#30036)

This commit is contained in:
renjithravindrankannath
2022-04-12 23:29:56 -07:00
committed by GitHub
parent 110ade1804
commit 6a8aa59717

View File

@@ -112,12 +112,6 @@ class LlvmAmdgpu(CMakePackage):
when='@master +rocm-device-libs'
)
def setup_dependent_build_environment(self, env, dependent_spec):
# LLVM-amdgpu is always based off of a pre-release version of LLVM.
# Set the version suffix to denote this fact for downstream projects.
env.append_flags('CXXFLAGS', '-DLLVM_VERSION_SUFFIX=git')
env.append_flags('CFLAGS', '-DLLVM_VERSION_SUFFIX=git')
def cmake_args(self):
llvm_projects = [
'clang',