Skip to content

Commit 1bac967

Browse files
authored
Set PATH in indexer image. (#13512)
Otherwise we may have subtle issues when re-compilation is not done through the same wrapper.
1 parent 15b23e3 commit 1bac967

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

infra/build/functions/build_project.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,9 @@ def get_indexer_build_steps(project_name,
586586
# index_build.py CFLAGS)
587587
'-c',
588588
'ENV CFLAGS "$$CFLAGS -O0 -glldb"',
589+
# Make sure the compiler wrapper is in $PATH.
590+
'-c',
591+
'ENV PATH "/opt/indexer:$$PATH"',
589592
_INDEXED_CONTAINER_NAME,
590593
_indexer_built_image_name(project.name) + f':{timestamp}'
591594
],

0 commit comments

Comments
 (0)