Skip to content

Commit

Permalink
drop support
Browse files Browse the repository at this point in the history
  • Loading branch information
Akuli committed Jan 14, 2025
1 parent 237c626 commit 590f83a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 16 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
llvm-version: [11, 13, 14, 15]
llvm-version: [14, 15]
# Testing all levels because there was a bug that only happened with -O1. (#224)
opt-level: ['-O0', '-O1', '-O2', '-O3']
steps:
Expand Down Expand Up @@ -70,11 +70,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: sudo apt update
- run: sudo apt install -y llvm-{11,13,14,15}-dev clang-{11,13,14,15} make
- run: LLVM_CONFIG=llvm-config-11 ./doctest.sh
- run: make clean
- run: LLVM_CONFIG=llvm-config-13 ./doctest.sh
- run: make clean
- run: sudo apt install -y llvm-{14,15}-dev clang-{14,15} make
- run: LLVM_CONFIG=llvm-config-14 ./doctest.sh
- run: make clean
- run: LLVM_CONFIG=llvm-config-15 ./doctest.sh
2 changes: 1 addition & 1 deletion .github/workflows/valgrind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
timeout-minutes: 60
strategy:
matrix:
llvm-version: [11, 13, 14, 15]
llvm-version: [14, 15]
# Testing all levels because there was a bug that only happened with -O1. (#224)
opt-level: ['-O0', '-O1', '-O2', '-O3']
fail-fast: false
Expand Down
8 changes: 1 addition & 7 deletions Makefile.posix
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@ LLVM_CONFIG ?= $(shell \
|| which llvm-config-14 \
|| which /usr/local/opt/llvm@14/bin/llvm-config \
|| which /opt/homebrew/opt/llvm@14/bin/llvm-config \
|| which llvm-config-13 \
|| which /usr/local/opt/llvm@13/bin/llvm-config \
|| which /opt/homebrew/opt/llvm@13/bin/llvm-config \
|| which llvm-config-11 \
|| which /usr/local/opt/llvm@11/bin/llvm-config \
|| which /opt/homebrew/opt/llvm@11/bin/llvm-config \
|| which /usr/pkg/libexec/libLLVM/llvm-config \
)
CFLAGS += $(shell $(LLVM_CONFIG) --cflags)
Expand All @@ -39,7 +33,7 @@ config.h:
echo "#define JOU_CLANG_PATH \"$(CC)\"" >> config.h

config.jou:
@v=`$(LLVM_CONFIG) --version`; case "$$v" in 11.*|13.*|14.*|15.*) ;; *) echo "Error: Found unsupported LLVM version $$v. Only LLVM 11, 13, 14 and 15 are supported."; exit 1; esac
@v=`$(LLVM_CONFIG) --version`; case "$$v" in 14.*|15.*) ;; *) echo "Error: Found unsupported LLVM version $$v. Only LLVM 14 and 15 are supported."; exit 1; esac
echo "# auto-generated by Makefile" > config.jou
echo "def get_jou_clang_path() -> byte*:" >> config.jou
echo " return \"$(CC)\"" >> config.jou
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,6 @@ The instructions for developing Jou are in [CONTRIBUTING.md](CONTRIBUTING.md).
so you need to use a full path (or `$HOME`) instead.
These LLVM/clang versions are supported:
- LLVM 11 with clang 11
- LLVM 13 with clang 13
- LLVM 14 with clang 14
- LLVM 15 with clang 15
Expand Down

0 comments on commit 590f83a

Please sign in to comment.