Conversation
Contains two necessary changes for build success: 1. Move `DEBIAN_FRONTEND` to avoid timezone interaction. Current `ARG DEBIAN_FRONTEND` not seems to work. 2. Install `libfl-dev`, otherwise OpenSTA make will failed: ``` 0.717 CMake Error: The following variables are used in this project, but they are set to NOTFOUND. 0.717 Please set them or make sure they are set and tested correctly in the CMake files: 0.717 /OpenSTA/FLEX_INCLUDE_DIR 0.717 used as include directory in directory /OpenSTA ``` Signed-off-by: 王博伟 <wozluohd@gmail.com>
|
@dsengupta0628 not sure if this is still relevant or not |
|
Checked this against current master - I don't think it's still needed. Both changes were verified in Docker against the current 1. It does work. A minimal build confirms the build arg is exported into the [2/2] RUN echo "FRONTEND=[$DEBIAN_FRONTEND]" Building the current apt stage as-is completes with no tzdata prompt. 2.
$ apt-cache show flex | grep Recommends So the current |
Contains two necessary changes to build successfully:
DEBIAN_FRONTENDto avoid timezone interaction. CurrentARG DEBIAN_FRONTENDnot seems to work.libfl-dev, otherwise OpenSTA make will failed: