Skip to content

Conversation

@abrachet
Copy link
Member

@abrachet abrachet commented Oct 5, 2023

We use this cache file for local builds too where the driver build is not a sensible default because it makes incremental links take too long. Instead lets change this option to be opt in.

We use this cache file for local builds too where the driver build is not a sensible default because it makes incremental links take too long. Instead lets change this option to be opt in.
@abrachet abrachet requested a review from petrhosek October 5, 2023 18:32
@llvmbot llvmbot added the clang Clang issues not falling into any other category label Oct 5, 2023
@llvmbot
Copy link
Member

llvmbot commented Oct 5, 2023

@llvm/pr-subscribers-clang

Changes

We use this cache file for local builds too where the driver build is not a sensible default because it makes incremental links take too long. Instead lets change this option to be opt in.


Full diff: https://github.com/llvm/llvm-project/pull/68341.diff

1 Files Affected:

  • (modified) clang/cmake/caches/Fuchsia-stage2.cmake (+1-5)
diff --git a/clang/cmake/caches/Fuchsia-stage2.cmake b/clang/cmake/caches/Fuchsia-stage2.cmake index 0dcc35ee1495f55..cca53be3dc45e33 100644 --- a/clang/cmake/caches/Fuchsia-stage2.cmake +++ b/clang/cmake/caches/Fuchsia-stage2.cmake @@ -29,11 +29,7 @@ set(LLVM_USE_RELATIVE_PATHS_IN_FILES ON CACHE BOOL "") set(LLDB_ENABLE_CURSES OFF CACHE BOOL "") set(LLDB_ENABLE_LIBEDIT OFF CACHE BOOL "") -if(WIN32) - set(FUCHSIA_DISABLE_DRIVER_BUILD ON) -endif() - -if (NOT FUCHSIA_DISABLE_DRIVER_BUILD) +if (FUCHSIA_ENABLE_DRIVER_BUILD) set(LLVM_TOOL_LLVM_DRIVER_BUILD ON CACHE BOOL "") set(LLVM_DRIVER_TARGET llvm-driver) endif() 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clang Clang issues not falling into any other category

2 participants