Add LLVM_ENABLE_RTTI option to llvm-amdgpu package, required by mesa. (#35655)

This commit is contained in:
Nicholas Sly 2023-08-10 04:14:02 -07:00 committed by GitHub
parent ff07fd5ccb
commit ebc2efdfd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -230,6 +230,7 @@ def cmake_args(self):
self.define("LIBCXXABI_ENABLE_STATIC", "ON"),
self.define("LIBCXXABI_INSTALL_STATIC_LIBRARY", "OFF"),
]
args.append(self.define("LLVM_ENABLE_RTTI", "ON"))
if self.spec.satisfies("@4.3.0:4.5.2"):
llvm_projects.append("libcxx")
llvm_projects.append("libcxxabi")