emojicode / emojicode

😀😜🔂 World’s only programming language that’s bursting with emojis

Home Page:https://emojicode.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

llvm problem

ranch-hands opened this issue · comments

hi
i wanted to install emojicode on google colab. but when i run :

!cmake .. -GNinja

the output error is:

CMake Error at Compiler/CMakeLists.txt:1 (find_package):
  Could not find a package configuration file provided by "LLVM" (requested
  version 8.0) with any of the following names:

    LLVMConfig.cmake
    llvm-config.cmake

  Add the installation prefix of "LLVM" to CMAKE_PREFIX_PATH or set
  "LLVM_DIR" to a directory containing one of the above files.  If "LLVM"
  provides a separate development package or SDK, be sure it has been
  installed.

then when i tried to install llvm the error says:

Collecting llvmpy==0.8.2
  Using cached llvmpy-0.8.2.tar.gz (486 kB)
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

then i installed the emojicode this way:

!curl -o emojicode.tar.gz -L https://github.com/emojicode/emojicode/releases/download/v1.0-beta.2/Emojicode-1.0-beta.2-Darwin-x86_64.tar.gz \
&& tar -xzf emojicode.tar.gz && rm emojicode.tar.gz \
&& cd Emojicode-1.0-beta.2-Darwin-x86_64 && ./install.sh \
&& cd .. && rm -r Emojicode-1.0-beta.2-Darwin-x86_64

but it dosent work at all and even this shows error:

!emojicodec greeting.emojic
/bin/bash: line 1: /usr/local/bin/emojicodec: cannot execute binary file: Exec format error

The currently used version of LLVM is version 8 (I just looked at the README and it still shows 7)... but that is a super old version and I've had difficulty getting it working locally, so I've started to work on updating to the latest LLVM which is 17. Could be a while before it's finished though.