Giter Club home page Giter Club logo

Comments (26)

ryukinix avatar ryukinix commented on September 4, 2024 2

Well, maybe this is done for now: brain

from brain.

luizperes avatar luizperes commented on September 4, 2024 2

You are right, @ryukinix. That warning is very annoying. For compiling Brain we will need either gcc or clang. Although @rafaelcn, I think that we can only use clang for the Brain io.ll library, because we are actually compiling it to LLVM IR rather than binary code, thus, I imagine that gcc does not emit-llvm, does it? For the Brain v1.1, I will try to take this clang dependecy out of the project. Moreover, thanks @ryukinix, @Kuchiriel and @rafaelcn for the good work!

from brain.

rafaelcn avatar rafaelcn commented on September 4, 2024 1

Well, I don't know either @luizperes, we have to try things out to know.

from brain.

rafaelcn avatar rafaelcn commented on September 4, 2024

Can I count on you both (@lerax, @Kuchiriel) to drop some ideas on the subject?

from brain.

ryukinix avatar ryukinix commented on September 4, 2024

I have a count on AUR but don't have experience about creating packages on AUR. @Kuchiriel has more experience than me.

from brain.

Kuchiriel avatar Kuchiriel commented on September 4, 2024

Yes I know how to generate and upload the pkg. Send me the instructions, I'll do the remaining. @rafaelcn

from brain.

ryukinix avatar ryukinix commented on September 4, 2024

We need just compile the repository and create for now just the brain-bin on AUR.

from brain.

rafaelcn avatar rafaelcn commented on September 4, 2024

The purpose is pack up the Brain binaries located on brain-bin repository. In the end the user would have access to Brain by its terminal, the installation process will be:

  • Install io.c on /usr/local/include
  • Install brain binary on /usr/local/bin

That way we don't bloat the system /bin folder. @luizperes do you want to add anything?

from brain.

luizperes avatar luizperes commented on September 4, 2024

I gotta check it and will answer you back!

Thanks

from brain.

Kuchiriel avatar Kuchiriel commented on September 4, 2024

I will wait for @luizperes then.

from brain.

luizperes avatar luizperes commented on September 4, 2024

Hi @rafaelcn, actually, the brain-bin repository is for the binary scripts that we will generate, not for the binaries themselves, for example: The docker one. The binaries will be stored probably in a server.

The Library path is actually /usr/local/include/brain instead of /usr/local/include and it goes only .ll, not '.c', but the '.c' must be compiled to the target architecture.

@Kuchiriel If you can, could you generate the AUR one?

Thank you!

from brain.

Kuchiriel avatar Kuchiriel commented on September 4, 2024

@luizperes I know there is a brain-bin repository, so, I can work from there, I just need the working binary files. But, guys, take a look at this repository https://github.com/haskellcamargo/skype-unofficial-client.

See the files structure, I need something like this to start. But in AUR we have the option to download the src and build on the machine, instead of copying binaries. (people trust more on this kind of distribution)

from brain.

ryukinix avatar ryukinix commented on September 4, 2024

@ryukinix @luiz_peres

from brain.

luizperes avatar luizperes commented on September 4, 2024

Wow!!! Could you check it @rafaelcn?

from brain.

ryukinix avatar ryukinix commented on September 4, 2024

Try install it via AUR and give me some feedback later, @rafaelcn @Kuchiriel

from brain.

rafaelcn avatar rafaelcn commented on September 4, 2024

Good job @ryukinix, I can't check over here because I don't use an Arch base distro but it does looks it is working. We just need to generate the Debian installer now.

from brain.

ryukinix avatar ryukinix commented on September 4, 2024

We need put this information on README.md. We can install brain with this command on ArchLinux (or another based distro just like Manjaro): yaourt -S brain

from brain.

Kuchiriel avatar Kuchiriel commented on September 4, 2024

Brain is the number 25 in AUR packages with yaourt brain

Total Download Size: 18,64 MiB
Total Installed Size: 105,43 MiB
With llvm-3.8.1-1 as dep.

But...

Creating libraries...
./libs/install.sh: line 22: clang: command not found

You need to add clang compiler as dep in pkgbuild.

Not a fatal error, the installation proceeds normally.

from brain.

ryukinix avatar ryukinix commented on September 4, 2024

@Kuchiriel Thanks, that way I'll just use clang instead gcc.

from brain.

ryukinix avatar ryukinix commented on September 4, 2024

@Kuchiriel I update the PKGBUILD and .SRCINFO right now. Take a look later.

from brain.

rafaelcn avatar rafaelcn commented on September 4, 2024

GCC works just fine to compile Brain as well @ryukinix, although in the libs/install.sh file it only uses clang, we can change that if needed.

from brain.

ryukinix avatar ryukinix commented on September 4, 2024

@rafaelcn The problem with clang is a warning about a inexistent flag -Un-not-maybe-initialized. Something like that.

from brain.

ryukinix avatar ryukinix commented on September 4, 2024

but would be better if we can choose the compiler on lib script build

from brain.

luizperes avatar luizperes commented on September 4, 2024

@ryukinix can you include the process of installation using AUR on the README.md? yaourt -S brain

from brain.

ryukinix avatar ryukinix commented on September 4, 2024

Yes, I can do that.

from brain.

luizperes avatar luizperes commented on September 4, 2024

Thanks @ryukinix ! That was done on the PR #30

from brain.

Related Issues (20)

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.