Skip to content

Commit

Permalink
remove build-essential (dependency on g++)
Browse files Browse the repository at this point in the history
  • Loading branch information
supragya committed Jun 19, 2021
1 parent 3f754e8 commit 000a11a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tools/ow_builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN ln -snf /usr/share/zoneinfo/UTC /etc/localtime && echo UTC > /etc/timezone

# installing requirements to get and extract prebuilt binaries
RUN apt-get -y update && apt-get install -y \
libtool automake doxygen autoconf clang cmake build-essential
libtool automake doxygen autoconf clang cmake

# set c++ and cc to clang
RUN update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++ 100
Expand Down
6 changes: 3 additions & 3 deletions tools/ow_builder/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ Component Expected Actuals
|- make version GNU Make 4.2.1 GNU Make 4.2.1
|- cmake version 3.16.3 cmake version 3.16.3
|- autoconf version 2.69 autoconf (GNU Autoconf) 2.69
|- glibcxx highest version <=GLIBCXX_3.4.28 GLIBCXX_3.4.28
|- c++ --version 10.0.0 clang version 10.0.0-4ubuntu1
|- cc --version 10.0.0 clang version 10.0.0-4ubuntu1
|- glibcxx highest version GLIBCXX_3.4.28 GLIBCXX_3.4.28
|- c++ --version clang 10.0.0 clang version 10.0.0-4ubuntu1
|- cc --version clang 10.0.0 clang version 10.0.0-4ubuntu1
|- ldd --version 2.31 ldd (Ubuntu GLIBC 2.31-0ubuntu9.2) 2.31
```
Remove intermediate build images using
Expand Down
4 changes: 2 additions & 2 deletions tools/ow_builder/list_versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ echo " |- make version GNU Make 4.2.1 $(make --ver
echo " |- cmake version 3.16.3 $(cmake --version | head -1)"
echo " |- autoconf version 2.69 $(autoconf --version | head -1)"
echo " |- glibcxx highest version GLIBCXX_3.4.28 $(strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX | tail -2 | head -1)"
echo " |- c++ --version 10.0.0 $(c++ --version | head -1)"
echo " |- cc --version 10.0.0 $(cc --version | head -1)"
echo " |- c++ --version clang 10.0.0 $(c++ --version | head -1)"
echo " |- cc --version clang 10.0.0 $(cc --version | head -1)"
echo " |- ldd --version 2.31 $(ldd --version | head -1)"

0 comments on commit 000a11a

Please sign in to comment.