Comments (26)
Well, maybe this is done for now: brain
from brain.
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.
Well, I don't know either @luizperes, we have to try things out to know.
from brain.
Can I count on you both (@lerax, @Kuchiriel) to drop some ideas on the subject?
from brain.
I have a count on AUR but don't have experience about creating packages on AUR. @Kuchiriel has more experience than me.
from brain.
Yes I know how to generate and upload the pkg. Send me the instructions, I'll do the remaining. @rafaelcn
from brain.
We need just compile the repository and create for now just the brain-bin
on AUR.
from brain.
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.
I gotta check it and will answer you back!
Thanks
from brain.
I will wait for @luizperes then.
from brain.
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.
@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 @luiz_peres
from brain.
Wow!!! Could you check it @rafaelcn?
from brain.
Try install it via AUR and give me some feedback later, @rafaelcn @Kuchiriel
from brain.
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.
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.
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.
@Kuchiriel Thanks, that way I'll just use clang instead gcc.
from brain.
@Kuchiriel I update the PKGBUILD and .SRCINFO right now. Take a look later.
from brain.
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.
@rafaelcn The problem with clang is a warning about a inexistent flag -Un-not-maybe-initialized. Something like that.
from brain.
but would be better if we can choose the compiler on lib script build
from brain.
@ryukinix can you include the process of installation using AUR on the README.md
? yaourt -S brain
from brain.
Yes, I can do that.
from brain.
Thanks @ryukinix ! That was done on the PR #30
from brain.
Related Issues (20)
- Makefile rules build and install are mixed and confused HOT 27
- Create .deb package and a ubuntu ppa channel for Brain HOT 4
- Change Docker Directory HOT 1
- Benchmark HOT 5
- Nested if statements HOT 2
- Small mistake on AST Expr.h method HOT 1
- BreakExpr for nested stmts HOT 3
- Fix compiler warnings HOT 1
- Missing the 'armhfp' HOT 9
- Travis file bug HOT 4
- Makefile and bash scripts problems HOT 3
- Uninitialized flag HOT 8
- Segmentation fault! HOT 20
- Create a wiki to make the README.md small and cleaner HOT 3
- Rename expression files (and classes) HOT 5
- Implement linker for binaries
- Make tape cell size custom
- Infinite loop compiler
- Implement mov instruction '&'
- guys, are you still alive? the last commit happened in 2020 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from brain.