Skip to content

Commit f29e631

Browse files
committed
Update Racket to 8.3 (BC)
* Add (BC) to the documents. Now Racket provides two variants: BC and CS. The CS version provides new APIs, but they are not compatible with our code. We should use the BC version. * Use the tgz package instead of the installer. PLTCOLLECTS and PLTCONFIGDIR need to be set manually.
1 parent 3692d94 commit f29e631

File tree

3 files changed

+13
-10
lines changed

3 files changed

+13
-10
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ You can find those interperters here:
4646
* [LuaBinaries](http://luabinaries.sourceforge.net/download.html) 5.4
4747
* [Python](https://www.python.org/downloads/) 2.7
4848
* [Python 3](https://www.python.org/downloads/) 3.10
49-
* [Racket](https://download.racket-lang.org/) 6.10.1
49+
* [Racket](https://download.racket-lang.org/) 8.3 (BC)
5050
* [RubyInstaller](http://rubyinstaller.org/downloads/) 3.0
5151

5252
Make sure that you install the same architecture (32bit/64bit) for those

appveyor.bat

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,12 @@ set PYTHON3_32_DIR=C:\python%PYTHON3_VER%
3939
set PYTHON3_64_DIR=C:\python%PYTHON3_VER%-x64
4040
set PYTHON3_DIR=!PYTHON3_%BIT%_DIR!
4141
:: Racket
42-
set RACKET_VER=3m_a36fs8
43-
set RACKET32_URL=https://www.cs.utah.edu/plt/installers/6.10.1/racket-minimal-6.10.1-i386-win32.exe
44-
set RACKET64_URL=https://www.cs.utah.edu/plt/installers/6.10.1/racket-minimal-6.10.1-x86_64-win32.exe
42+
set RACKET_VER=3m_da32rk
43+
set RACKET_RELEASE=8.3
44+
set RACKET32_URL=https://www.cs.utah.edu/plt/installers/%RACKET_RELEASE%/racket-minimal-%RACKET_RELEASE%-i386-win32-bc.tgz
45+
set RACKET64_URL=https://www.cs.utah.edu/plt/installers/%RACKET_RELEASE%/racket-minimal-%RACKET_RELEASE%-x86_64-win32-bc.tgz
4546
set RACKET_URL=!RACKET%BIT%_URL!
46-
set RACKET32_DIR=%PROGRAMFILES(X86)%\Racket
47-
set RACKET64_DIR=%PROGRAMFILES%\Racket
48-
set RACKET_DIR=!RACKET%BIT%_DIR!
47+
set RACKET_DIR=C:\racket
4948
set MZSCHEME_VER=%RACKET_VER%
5049
:: Ruby
5150
set RUBY_VER=30
@@ -155,8 +154,10 @@ xcopy /s .ext\include %RUBY_DIR%\include\ruby-%RUBY_API_VER_LONG%
155154
popd
156155

157156
:: Racket
158-
call :downloadfile %RACKET_URL% downloads\racket.exe
159-
start /wait downloads\racket.exe /S
157+
call :downloadfile %RACKET_URL% downloads\racket.tgz
158+
:: Use tar.exe from "Git for Windows"
159+
tar xf downloads/racket.tgz -C /c || exit 1
160+
type NUL > %RACKET_DIR%\include\bc_suffix.h
160161

161162
:: Install libintl.dll and iconv.dll
162163
call :downloadfile %GETTEXT32_URL% downloads\gettext32.zip
@@ -362,6 +363,8 @@ goto :eof
362363
:test_x64
363364
:: ----------------------------------------------------------------------
364365
@echo on
366+
set PLTCOLLECTS=%RACKET_DIR%\collects
367+
set PLTCONFIGDIR=%RACKET_DIR%\etc
365368
cd vim\src\testdir
366369
nmake -f Make_dos.mak VIMPROG=..\gvim || exit 1
367370
nmake -f Make_dos.mak clean

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ deploy:
114114
* [LuaBinaries](http://luabinaries.sourceforge.net/download.html) 5.4
115115
* [Python](https://www.python.org/downloads/) 2.7
116116
* [Python3](https://www.python.org/downloads/) 3.10
117-
* [Racket](https://download.racket-lang.org/) 6.10.1
117+
* [Racket](https://download.racket-lang.org/) 8.3 (BC)
118118
* [RubyInstaller](http://rubyinstaller.org/downloads/) 3.0
119119
<!-- * [libsodium](https://download.libsodium.org/libsodium/) 1.0.18 -->
120120
</details>

0 commit comments

Comments
 (0)