From 00859ef1848e026bb514d7ed1bc85697e72ccbbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A1=B0=EC=84=B1=EB=B9=88?= <37990858+pcr910303@users.noreply.github.com> Date: Fri, 4 Jan 2019 01:59:31 +0900 Subject: [PATCH] Allow 64bit binaries named `ccl64` also work Currently the script only checks `ccl -V`. I'm not sure about other platforms, but on mac homebrew installs `ccl64` only if you run `brew install clozure-cl`. --- install-cl-jupyter.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/install-cl-jupyter.py b/install-cl-jupyter.py index ba55f33..5def43c 100644 --- a/install-cl-jupyter.py +++ b/install-cl-jupyter.py @@ -202,8 +202,10 @@ def process_command_line(argv): elif config.lisp_implementation == "ccl": if not config.lisp_executable: - config.lisp_executable = 'ccl' - + if shutil.which("ccl64"): + config.lisp_executable = 'ccl64' + else: + config.lisp_executable = 'ccl' try: ccl_version_string = subprocess.check_output([config.lisp_executable, "-V"]).decode() except FileNotFoundError: