Projects
openEuler:24.03:SP1:Everything
llvm
_service:tar_scm:0020-Update-llvm-lit-config-to...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:0020-Update-llvm-lit-config-to-support-build_for_openeule.patch of Package llvm
From 5721be433ddee5f60d4a9434df43a023f1ec4c0e Mon Sep 17 00:00:00 2001 From: wangqiang <wangqiang1@kylinos.cn> Date: Sun, 28 Apr 2024 14:30:34 +0800 Subject: [PATCH] Update llvm-lit config to support build_for_openeuler --- llvm/cmake/modules/HandleLLVMOptions.cmake | 7 +++++++ 1 files changed, 7 insertions(+) diff --git a/llvm/cmake/modules/HandleLLVMOptions.cmake b/llvm/cmake/modules/HandleLLVMOptions.cmake index 76723be69..c6f5569af 100644 --- a/llvm/cmake/modules/HandleLLVMOptions.cmake +++ b/llvm/cmake/modules/HandleLLVMOptions.cmake @@ -97,6 +97,13 @@ if( LLVM_ENABLE_ASSERTIONS ) set(LLVM_ENABLE_CLASSIC_FLANG 0) endif() +option(BUILD_FOR_OPENEULER "Build support for openeuler" OFF) +if(BUILD_FOR_OPENEULER) + set(BUILD_FOR_OPENEULER 1) +else() + set(BUILD_FOR_OPENEULER 0) +endif() + if(LLVM_ENABLE_EXPENSIVE_CHECKS) add_compile_definitions(EXPENSIVE_CHECKS) -- 2.33.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2