Skip to content

Commit db7039b

Browse files
authored
Merge branch 'main' into upgrade-latest-langchain-version
2 parents 4b5bd97 + 2abe298 commit db7039b

File tree

5 files changed

+22
-8
lines changed

5 files changed

+22
-8
lines changed

.gitlab/templates/cached-testrunner.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
variables:
44
PIP_CACHE_DIR: '${{CI_PROJECT_DIR}}/.cache/pip'
55
SCCACHE_DIR: '${{CI_PROJECT_DIR}}/.cache/sccache'
6-
DD_CMAKE_INCREMENTAL_BUILD: '1'
7-
DD_SETUP_CACHE_DOWNLOADS: '1'
86
EXT_CACHE_VENV: '${{CI_PROJECT_DIR}}/.cache/ext_cache_venv'
97
before_script: |
108
ulimit -c unlimited

docker-compose.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,6 @@ services:
177177
image: ghcr.io/datadog/dd-trace-py/testrunner:8b69a2610342b333f8832422ffc4f3a9327bed13@sha256:c2d067947ffdb305fc7dc7ff1f8eb7035cfa110bd1199917dd2519eadd166402
178178
command: bash
179179
environment:
180-
DD_SETUP_CACHE_DOWNLOADS: "1"
181-
DD_CMAKE_INCREMENTAL_BUILD: "1"
182180
DD_FAST_BUILD: "1"
183181
CMAKE_BUILD_PARALLEL_LEVEL: "12"
184182
CARGO_BUILD_JOBS: "12"

docs/build_system.rst

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,3 +204,23 @@ These environment variables modify aspects of the build process.
204204

205205
version_added:
206206
v2.16.0:
207+
208+
DD_CMAKE_INCREMENTAL_BUILD:
209+
type: Boolean
210+
default: True
211+
212+
description: |
213+
Enables support for incremental builds of CMake extensions when doing an in-place install (e.g. editable mode).
214+
215+
version_added:
216+
v3.10.0:
217+
218+
DD_SETUP_CACHE_DOWNLOADS:
219+
type: Boolean
220+
default: True
221+
222+
description: |
223+
Caches the download of artifacts needed by the build process.
224+
225+
version_added:
226+
v3.10.0:

scripts/perf-run-scenario

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,6 @@ if [[ -n ${ARTIFACTS} ]]; then
6464
fi
6565
CMD+=" -v $(pwd):/src/ \
6666
-e PROFILE_BENCHMARKS=${PROFILE_BENCHMARKS:-0} \
67-
-e DD_SETUP_CACHE_DOWNLOADS=1 \
68-
-e DD_CMAKE_INCREMENTAL_BUILD=1 \
6967
-e DD_FAST_BUILD=1 \
7068
-e CMAKE_BUILD_PARALLEL_LEVEL=12 \
7169
-e CARGO_BUILD_JOBS=12 \

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ def run(self):
226226

227227
class LibraryDownload:
228228
CACHE_DIR = HERE / ".download_cache"
229-
USE_CACHE = os.getenv("DD_SETUP_CACHE_DOWNLOADS", "0").lower() in ("1", "yes", "on", "true")
229+
USE_CACHE = os.getenv("DD_SETUP_CACHE_DOWNLOADS", "1").lower() in ("1", "yes", "on", "true")
230230

231231
name = None
232232
download_dir = Path.cwd()
@@ -392,7 +392,7 @@ def run(self):
392392

393393

394394
class CMakeBuild(build_ext):
395-
INCREMENTAL = os.getenv("DD_CMAKE_INCREMENTAL_BUILD", "0").lower() in ("1", "yes", "on", "true")
395+
INCREMENTAL = os.getenv("DD_CMAKE_INCREMENTAL_BUILD", "1").lower() in ("1", "yes", "on", "true")
396396

397397
@staticmethod
398398
def try_strip_symbols(so_file):

0 commit comments

Comments
 (0)