Skip to content

Commit

Permalink
cmake/Clang.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
John-LittleBearLabs committed Sep 17, 2024
1 parent dd1af2d commit 0743fd4
Show file tree
Hide file tree
Showing 29 changed files with 16 additions and 891 deletions.
3 changes: 2 additions & 1 deletion .github/ut.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ echo Install dependencies
sudo apt-get update
sudo apt-get install --yes cmake ninja-build lcov binutils doxygen graphviz libc6{,-dev} valgrind
npm install -g @marp-team/marp-cli

g++ --version
clang++ --version
echo Configure
mkdir build
cmake \
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,14 @@ jobs:
cxx: "g++",
generators: "Ninja"
}
- {
name: "Ubuntu-Clang",
os: ubuntu-latest,
build_type: "Release",
cc: "clang",
cxx: "clang++",
generators: "Ninja"
}
- {
name: "Windows-MSVC",
os: windows-latest,
Expand Down Expand Up @@ -130,6 +138,9 @@ jobs:
run: |
mkdir build
mkdir ipfs-client-dev
CC=${{ matrix.config.cc }}"
CXX=${{ matrix.config.cxx }}"
export CC CXX
cmake \
-G "${{ matrix.config.generators }}" \
-S . \
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ set(DEPOT_TOOLS_DIRECTORY "${default_dt}" CACHE PATH
"Where to find depot_tools, e.g. DEPOT_TOOLS_DIRECTORY/gn.py should exist. Setting this to DETECT_FROM_PATH implies the directory is in your PATH and always will be."
)
set(TEST_BY_DEFAULT FALSE CACHE BOOL "Update unit tests as part of the 'all' default target.")
set(USE_DOXYGEN TRUE CACHE BOOL "If we should attempt to use Doxygen to generate documentation.")
set(USE_DOXYGEN TRUE CACHE BOOL "If we should attempt to use Doxygen to generate documentation, if it's available.")
set(BRANDING_DIR "${CMAKE_CURRENT_LIST_DIR}/branding" CACHE PATH "Directory conataining branding files to synchronize. If empty, don't apply any branding changes.")
#End of user-configuration cache variables.

Expand Down
27 changes: 0 additions & 27 deletions chromium_edits/126.0.6445.0/chrome/browser/BUILD.gn.patch

This file was deleted.

38 changes: 0 additions & 38 deletions chromium_edits/126.0.6445.0/chrome/browser/about_flags.cc.patch

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

10 changes: 0 additions & 10 deletions chromium_edits/126.0.6445.0/chrome/browser/ipfs_extra_parts.cc

This file was deleted.

10 changes: 0 additions & 10 deletions chromium_edits/126.0.6445.0/chrome/browser/ipfs_extra_parts.h

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 0743fd4

Please sign in to comment.