Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
2e7fe7e7
Unverified
Commit
2e7fe7e7
authored
Sep 28, 2024
by
Tyler Michael Smith
Committed by
GitHub
Sep 29, 2024
Browse files
[Build/CI] Set FETCHCONTENT_BASE_DIR to one location for better caching (#8930)
parent
26a68d5d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
.gitignore
.gitignore
+1
-0
CMakeLists.txt
CMakeLists.txt
+9
-0
No files found.
.gitignore
View file @
2e7fe7e7
...
@@ -33,6 +33,7 @@ share/python-wheels/
...
@@ -33,6 +33,7 @@ share/python-wheels/
.installed.cfg
.installed.cfg
*.egg
*.egg
MANIFEST
MANIFEST
/.deps/
# PyInstaller
# PyInstaller
# Usually these files are written by a python script from a template
# Usually these files are written by a python script from a template
...
...
CMakeLists.txt
View file @
2e7fe7e7
...
@@ -166,7 +166,16 @@ if(NVCC_THREADS AND VLLM_GPU_LANG STREQUAL "CUDA")
...
@@ -166,7 +166,16 @@ if(NVCC_THREADS AND VLLM_GPU_LANG STREQUAL "CUDA")
list
(
APPEND VLLM_GPU_FLAGS
"--threads=
${
NVCC_THREADS
}
"
)
list
(
APPEND VLLM_GPU_FLAGS
"--threads=
${
NVCC_THREADS
}
"
)
endif
()
endif
()
#
# Use FetchContent for C++ dependencies that are compiled as part of vLLM's build process.
# Configure it to place files in vllm/.deps, in order to play nicely with sccache.
#
include
(
FetchContent
)
include
(
FetchContent
)
get_filename_component
(
PROJECT_ROOT_DIR
"
${
CMAKE_CURRENT_SOURCE_DIR
}
"
ABSOLUTE
)
file
(
MAKE_DIRECTORY
"
${
FETCHCONTENT_BASE_DIR
}
"
)
set
(
FETCHCONTENT_BASE_DIR
"
${
PROJECT_ROOT_DIR
}
/.deps"
)
message
(
STATUS
"FetchContent base directory:
${
FETCHCONTENT_BASE_DIR
}
"
)
#
#
# Define other extension targets
# Define other extension targets
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment