Compare commits
2 Commits
45d82e97b2
...
94af196653
Author | SHA1 | Date | |
---|---|---|---|
Connor Olding | 94af196653 | ||
Connor Olding | 749f385f6d |
|
@ -5,7 +5,7 @@ heads up: these are likely to be out of date.
|
||||||
|
|
||||||
### mingw-w64-nim
|
### mingw-w64-nim
|
||||||
|
|
||||||
patches nim 1.0.0 to compile with MSYS2, and use MSYS2 paths/DLLs.
|
patches nim 1.6.6 to compile with MSYS2, and use MSYS2 paths/DLLs.
|
||||||
a few things might not work, but the core functionality
|
a few things might not work, but the core functionality
|
||||||
(including nimble) is working.
|
(including nimble) is working.
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ license=('MIT')
|
||||||
options=('!emptydirs')
|
options=('!emptydirs')
|
||||||
provides=('nim' 'nimble')
|
provides=('nim' 'nimble')
|
||||||
conflicts=('nim' 'nimble')
|
conflicts=('nim' 'nimble')
|
||||||
pkgver=1.6.4
|
pkgver=1.6.6
|
||||||
_csources=561b417c65791cd8356b5f73620914ceff845d10
|
_csources=561b417c65791cd8356b5f73620914ceff845d10
|
||||||
_nimble=0.13.1
|
_nimble=0.13.1
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
|
@ -19,7 +19,7 @@ source=(nim-${pkgver}.tar.gz::https://github.com/nim-lang/Nim/archive/v${pkgver}
|
||||||
'0002-Always-look-in-unix-paths.patch'
|
'0002-Always-look-in-unix-paths.patch'
|
||||||
'0003-Check-lib-nim-subdirectory.patch'
|
'0003-Check-lib-nim-subdirectory.patch'
|
||||||
'0004-Use-mingw64-dlls.patch')
|
'0004-Use-mingw64-dlls.patch')
|
||||||
sha256sums=('46beadcf4d606d0bbbf4bf93e5fa8a9d18baa1a7171eb2586a894099fd925b12'
|
sha256sums=('59836a85c1291b59af699a121b0b765703d6a0e44ed9f3ede363ff2b3e09d527'
|
||||||
'71c823444c794a12da9027d19d6a717dd7759521ecbbe28190b08372142607ec'
|
'71c823444c794a12da9027d19d6a717dd7759521ecbbe28190b08372142607ec'
|
||||||
'e6aa8d9ee4b3ed0321dca329b4a38fa546771b9729984482fb50fe73d3777f5d'
|
'e6aa8d9ee4b3ed0321dca329b4a38fa546771b9729984482fb50fe73d3777f5d'
|
||||||
'3010acbe7769ea214dd51f5889e3a26b44925001905deb04b060beaede2578f4'
|
'3010acbe7769ea214dd51f5889e3a26b44925001905deb04b060beaede2578f4'
|
||||||
|
@ -50,21 +50,21 @@ build() {
|
||||||
cd "${srcdir}/nim-${pkgver}"
|
cd "${srcdir}/nim-${pkgver}"
|
||||||
|
|
||||||
msg2 "Building nim"
|
msg2 "Building nim"
|
||||||
(cd csources; sh build.sh)
|
(cd csources && sh build.sh)
|
||||||
|
|
||||||
msg2 "Building koch"
|
msg2 "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
|
||||||
|
|
||||||
msg2 "Building libs"
|
msg2 "Building libs"
|
||||||
(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)
|
||||||
msg2 "Building tools"
|
msg2 "Building tools"
|
||||||
(cd tools; ../bin/nim c -d:release nimgrep.nim)
|
(cd tools && ../bin/nim c -d:release nimgrep.nim)
|
||||||
msg2 "Building nimsuggest"
|
msg2 "Building nimsuggest"
|
||||||
./bin/nim c -d:release nimsuggest/nimsuggest.nim
|
./bin/nim c -d:release nimsuggest/nimsuggest.nim
|
||||||
|
|
||||||
msg2 "Building Nimble"
|
msg2 "Building Nimble"
|
||||||
(cd nimble; ../bin/nim c -d:release src/nimble)
|
(cd nimble && ../bin/nim c -d:release src/nimble)
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user