Skip to content

Commit

Permalink
gh: Generate Linux compile cmds, don't intercept.
Browse files Browse the repository at this point in the history
Generate Linux compile commands with the `gen_compile_commands.py`
script instead of using `bear` to do so since `bear`'s output does not
handle single quotes in command-line macro definitions.
  • Loading branch information
PappasBrent committed Aug 6, 2024
1 parent c0d4ff5 commit ec4ec4c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -341,15 +341,15 @@ jobs:
apt-get update
apt-get -y install git fakeroot build-essential \
ncurses-dev xz-utils libssl-dev bc flex libelf-dev bison \
bear \
lld-${{ matrix.llvm-version }}
- name: Clone and build the Linux kernel to create a compilation database
- name: Clone, configure, and build the Linux kernel
run: |
git clone --depth=1 https://github.com/torvalds/linux.git linux
cd linux
bear -- make defconfig
bear -- make LLVM=-${{ matrix.llvm-version }} -j $(nproc)
make defconfig
make LLVM=-${{ matrix.llvm-version }} -j $(nproc)
python3 ./scripts/clang-tools/gen_compile_commands.py
cd ../
- name: Clone vast benchmark directory
Expand Down

0 comments on commit ec4ec4c

Please sign in to comment.