Skip to content

Commit

Permalink
Install include-what-you-use
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromehue committed Dec 26, 2023
1 parent 698e4f2 commit 06fd82d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,14 @@ if [[ $1 == "cobc" ]]; then
cd ..
fi

if [[ $1 == "linux" ]]; then
cd include-what-you-use
mkdir build && cd build
cmake -G "Unix Makefiles" -DCMAKE_PREFIX_PATH=/usr/lib/llvm-15 ../
sudo make install
cd ../..
fi

# Remove cloned repositories to save space in docker image
if [ "$DOCKER_BUILD" = true ]; then
echo "Removing repositories"
Expand Down
1 change: 1 addition & 0 deletions libraries.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ type_safe,b9138d8a26ea9bbab965f87ee925f53fde025fd9,https://github.com/foonathan/
Catch2,v3.1.0,https://github.com/catchorg/Catch2.git
littlefs,cmake,https://github.com/SpaceTeam/littlefs.git
NamedType,master,https://github.com/joboccara/NamedType.git
include-what-you-use,clang_15,https://github.com/include-what-you-use/include-what-you-use.git
1 change: 1 addition & 0 deletions linux-x86/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ RUN apt-get update -qq && apt-get install -y -qq \
gcc-12-multilib \
git \
lcov \
libclang-15-dev \
make \
ninja-build \
pipx \
Expand Down

0 comments on commit 06fd82d

Please sign in to comment.