Skip to content

Commit 039f12e

Browse files
committed
Bugfix for 1.12
1 parent 27930cd commit 039f12e

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

bin/force_precompile

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
# SPDX-FileCopyrightText: 2025 Uwe Fechner
33
# SPDX-License-Identifier: MIT
44

5+
julia_version=$(julia --version | awk '{print($3)}')
6+
julia_major=${julia_version:0:3}
7+
if [[ $julia_major == "1.1" ]]; then
8+
julia_major=${julia_version:0:4}
9+
fi
10+
511
cd ~
6-
rm -rf .julia/compiled/v1.11/KiteModels
7-
rm -rf .julia/compiled/v1.11/SymbolicAWEModels
12+
rm -rf .julia/compiled/v${julia_major}/KiteModels
13+
rm -rf .julia/compiled/v${julia_major}/SymbolicAWEModels

0 commit comments

Comments
 (0)