Skip to content

Commit 3686646

Browse files
Oops revert accidental hash change
1 parent 3c5b248 commit 3686646

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tools/cmake/mbed_python_interpreter.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ if(MBED_CREATE_PYTHON_VENV)
3434
# check/create the venv, only one can operate at a time
3535
# Also note that this will create the venv directory if it doesn't exist
3636
# First we try to lock with a short wait time, and then if that doesn't work, we print a message and wait longer.
37-
file(LOCK ${MBED_VENV_LOCATION} DIRECTORY TIMEOUT 2 RESULT_VARIABLE VENV_LOCK_ACQUIRED)
37+
file(LOCK ${MBED_VENV_LOCATION} DIRECTORY TIMEOUT 5 RESULT_VARIABLE VENV_LOCK_ACQUIRED)
3838
set(VENV_LOCK_TIMEOUT 60) # sec
3939
if(NOT VENV_LOCK_ACQUIRED EQUAL 0)
40-
message(STATUS "Another CMake instance appears to be operating on the python venv, waiting up to ${VENV_LOCK_TIMEOUT} sec...")
40+
message(STATUS "Mbed: Another CMake instance appears to be operating on the python venv, waiting up to ${VENV_LOCK_TIMEOUT} sec...")
4141
file(LOCK ${MBED_VENV_LOCATION} DIRECTORY TIMEOUT ${VENV_LOCK_TIMEOUT} RESULT_VARIABLE VENV_LOCK_ACQUIRED)
4242
if(NOT VENV_LOCK_ACQUIRED EQUAL 0)
4343
message(FATAL_ERROR "Failed to acquire lock ${MBED_VENV_LOCATION}/cmake.lock. You may need to delete this file, as long as you are sure another CMake instance is not running.")

0 commit comments

Comments
 (0)