Coder Social home page Coder Social logo

crystal-flake's People

Contributors

bcardiff avatar manveru avatar peterhoeg avatar will avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

crystal-flake's Issues

aarch64-darwin support?

Hi, would it be hard to add support for aarch64-darwin? I'm trying to get into nix on a new computer and also use crystal. I figure flakes are The Way To Go and found this project.

This pr worked for me for nix-shell on arm mac for what it's worth https://github.com/crystal-lang/crystal/pull/12591/files Not sure if that helps make it easier to add support or not though.

Upstreaming crystalline

It would be nice if crystalline was a part of nixpkgs, see: NixOS/nixpkgs#129002

I tried to package it myself, however I get this error:

$ nix build .#crystalline
error: builder for '/nix/store/6ha2chgnsjxjjrbrclk2kkpdqd46pybn-crystalline-0.9.0.drv' failed with exit code 1;
       last 10 log lines:
       > llvm_ext.cc:(.text+0x142a): undefined reference to `llvm::AttributeList::addAttributeAtIndex(llvm::LLVMContext&, unsigned int, llvm::Attribute::AttrKind) const'
       > /nix/store/shw0b6wv2xdvyj71b1fj147i83awrqfz-binutils-2.40/bin/ld: /nix/store/7cbwi2vs81vy9706z3qaz0lalw2kgszy-crystal-1.8.1-lib/crystal/llvm/ext/llvm_ext.o: in function `LLVMExtBuildInvoke2':
       > llvm_ext.cc:(.text+0x16ba): undefined reference to `llvm::AttributeList::addAttributeAtIndex(llvm::LLVMContext&, unsigned int, llvm::Attribute::AttrKind) const'
       > /nix/store/shw0b6wv2xdvyj71b1fj147i83awrqfz-binutils-2.40/bin/ld: /nix/store/7cbwi2vs81vy9706z3qaz0lalw2kgszy-crystal-1.8.1-lib/crystal/llvm/ext/llvm_ext.o: in function `LLVMExtCreateMCJITCompilerForModule':
       > llvm_ext.cc:(.text+0x1913): undefined reference to `llvm::AttributeList::addAttributeAtIndex(llvm::LLVMContext&, unsigned int, llvm::StringRef, llvm::StringRef) const'
       > /nix/store/shw0b6wv2xdvyj71b1fj147i83awrqfz-binutils-2.40/bin/ld: /nix/store/7cbwi2vs81vy9706z3qaz0lalw2kgszy-crystal-1.8.1-lib/crystal/llvm/ext/llvm_ext.o: in function `LLVMExtDIBuilderCreateEnumerator':
       > llvm_ext.cc:(.text+0xa80): undefined reference to `llvm::DIBuilder::createEnumerator(llvm::StringRef, unsigned long, bool)'
       > collect2: error: ld returned 1 exit status
       > Error: execution of command failed with exit status 1: gcc "${@}" -o /build/source/crystalline  -rdynamic -L/nix/store/s9bg2k5pcqg9jfydv73qz1ks0904ayfz-boehm-gc-8.2.2/lib -L/nix/store/77v35v9ww1bqpzywgrg88w98zhhajiw6-pcre2-10.42/lib -L/nix/store/qzd89gp4sdmwwvd79hnws1l13fwpb3sp-libevent-2.1.12/lib -L/nix/store/5p42x6w5n98541wg55bxpxpfawi6fldr-libyaml-0.2.5/lib -L/nix/store/37a5krk4a1a8vhl93q2bm9nbv8hymyii-zlib-1.2.13/lib -L/nix/store/z55ppjgy91k644h4xv4mbiksm33ji2w9-libxml2-2.10.4/lib -L/nix/store/8dxriyfzj2nycr6wlmk5zs0xpczbz7an-openssl-3.0.8/lib -lyaml /nix/store/7cbwi2vs81vy9706z3qaz0lalw2kgszy-crystal-1.8.1-lib/crystal/llvm/ext/llvm_ext.o `"/nix/store/37dw98yiz05pr8xfy6qgn2y2zc6yh277-llvm-11.1.0-dev/bin/llvm-config" --libs --system-libs --ldflags 2> /dev/null` -lstdc++ -lpcre2-8 -lm -lgc -lpthread -levent_pthreads -levent -lrt -lpthread -ldl
       > [14/13] Codegen (linking)

Any help would be appreciated. My branch is available here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.