Hash :
cd56b248
Author :
Date :
2023-12-08T15:36:17
third_party/clspv: Add GN build files The clspv project uses CMake for build. Adding support for GN build in here. The build is currently setup to generate linux/x86 and android/arm64 artifacts for now and relevant gn files are placed in `third_party/clspv` location. Bug: angleproject:8369 Change-Id: Iec7ef1916617a8b8a93324ff7302f89bd571b814 Signed-off-by: Gowtham Tammana <g.tammana@samsung.com> Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/5106594 Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org> Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
# Specifies the build flags that are set by the LLVM GN build. The LLVM build
# options specific to clspv targets go in here.
# Contains only LLVM specific options
declare_args() {
# Whether to enable assertions.
llvm_enable_assertions = true
# Whether to enable expensive checks.
llvm_enable_expensive_checks = false
# Whether to build with ThinLTO.
use_thinlto = false
}
# Below are libs setup as in `llvm/utils/gn/build/libs/*`
declare_args() {
llvm_enable_libcurl = false
llvm_enable_libedit = host_os == "mac"
llvm_enable_threads = current_os != "win" && current_os != "android"
llvm_enable_libxar = host_os == "mac"
llvm_enable_libxml2 = current_os != "win" && current_os != "android"
llvm_enable_terminfo = false
llvm_enable_zlib = host_os != "win"
}