Rebuild package

This commit is contained in:
2026-02-27 19:14:07 +02:00
parent 45932eb982
commit fb94a3798a
2 changed files with 8 additions and 1 deletions
+3 -1
View File
@@ -1,9 +1,11 @@
name: nim name: nim
description: Statically typed compiled systems programming language description: Statically typed compiled systems programming language
version: 2.2.6 version: 2.2.6
revision: 1 revision: 2
url: https://nim-lang.org/ url: https://nim-lang.org/
license: MIT license: MIT
maintainers:
- [email protected]
architecture: any architecture: any
type: source type: source
depends: depends:
+5
View File
@@ -17,20 +17,25 @@ prepare() {
# This function is used to compile the source code # This function is used to compile the source code
build() { build() {
# Compile nim # Compile nim
echo "Building nim..."
sh build.sh sh build.sh
# Compile koch # Compile koch
echo "Building koch..."
./bin/nim c -d:release koch ./bin/nim c -d:release koch
./koch boot -d:release -d:nativeStacktrace -d:useGnuReadline ./koch boot -d:release -d:nativeStacktrace -d:useGnuReadline
# Compile libraries # Compile libraries
echo "Building libraries..."
( cd lib; ../bin/nim c --app:lib -d:createNimRtl -d:release nimrtl.nim ) ( cd lib; ../bin/nim c --app:lib -d:createNimRtl -d:release nimrtl.nim )
# Compile tools # Compile tools
echo "Building tools..."
./koch tools ./koch tools
( cd tools; ../bin/nim c -d:release nimgrep.nim ) ( cd tools; ../bin/nim c -d:release nimgrep.nim )
# Compile nimsuggest # Compile nimsuggest
echo "Building nimsuggest..."
./bin/nim c -d:release nimsuggest/nimsuggest.nim ./bin/nim c -d:release nimsuggest/nimsuggest.nim
} }