triton-llvm: Set LLVM_TOOL_LLVM_DRIVER_BUILD=ON to use a single symlinked binary
Save space by using busybox style tool binary
It's tempting to set BUILD_SHARED_LIBS, which saves far more space
but currently segfaults in keras's test suite. More work needed.
See 8106d8a605 and subsequent revert
This commit is contained in:
@@ -128,6 +128,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
(lib.cmakeBool "LLVM_INCLUDE_DOCS" (buildDocs || buildMan))
|
||||
(lib.cmakeBool "MLIR_INCLUDE_DOCS" (buildDocs || buildMan))
|
||||
(lib.cmakeBool "LLVM_BUILD_DOCS" (buildDocs || buildMan))
|
||||
# It's tempting to set BUILD_SHARED_LIBS, which saves far more space
|
||||
# but currently segfaults in keras's test suite. More work needed.
|
||||
(lib.cmakeBool "LLVM_TOOL_LLVM_DRIVER_BUILD" true) # Save space by using busybox style tool binary
|
||||
# Way too slow, only uses one core
|
||||
# (lib.cmakeBool "LLVM_ENABLE_DOXYGEN" (buildDocs || buildMan))
|
||||
(lib.cmakeBool "LLVM_ENABLE_SPHINX" (buildDocs || buildMan))
|
||||
|
||||
Reference in New Issue
Block a user