Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

llvm problem #216

Open
ranch-hands opened this issue Sep 1, 2023 · 1 comment
Open

llvm problem #216

ranch-hands opened this issue Sep 1, 2023 · 1 comment

Comments

@ranch-hands
Copy link

ranch-hands commented Sep 1, 2023

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
@joeskeen
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants