Giter Club home page Giter Club logo

aura's People

Contributors

ashleyj avatar asuhan avatar badlogic avatar blueriverinteractive avatar bobthekingofegypt avatar cfogelklou avatar ericnondahl avatar erwin1 avatar janblok avatar johnnyapol avatar justinsb avatar lambdaknight avatar lbrasseur avatar loxal avatar nomoid avatar ntherning avatar oakes avatar perfectcarl avatar saikai avatar zonski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

teras

aura's Issues

Building native code fails

bash: ./configure: No such file or directory

It seems cmake is configured to run a ./configure command, yet nowhere is it configured to generate a configure file.

don't show usage on error

Stop usage statement being printed when compilation error occurs -- makes it difficult to see the error and is unnecessary.

Generate shared libs

Build on 64d946d and add two new features:

  • Generate just the shared libs in a single installable directory (considering OS X install_name)
  • Generate just a binary, which is linked to the above

Expand readme.md

Hi, this project looks promising. I would like to try it out but I don't really know where to start. Is it possible to expand the readme with:

  • A brief description of the goals of this project (compared to other robovm forks)
  • A 'getting started' ie how to compile simple java hello world to a native exectuable
  • what is supported, what is not supported, on which platform it is supported
  • know shortcomings
  • ...

old dependencies on robovm ext-clang & ext-llvm

Aura has git submodule dependencies on robovm repositories, which are in turn clones of other repositories.

The problem here is twofold:
A dependency on a dead project can potentially disappear. Rendering aura unbuildable.
Second, the robovm dependencies are clones of projects that haven't been updated in 2 years. Ideally aura should depend directly on the latest/more recent upstream projects and apply patches where needed during build.

Runtime shared library.

Currently robovm/aura compiles binaries as a single static executable. It would be beneficial to have a separate (one or more) shared library with all runtime dependencies included. This would make the size of binaries smaller and fixes any licensing issues should aura ever work with openjdk.

Fix compilation args

compiler args follow a very java-like feel. Since the target here is command line usage, they should follow a more unix-feel

eg:

Instead of
java -jar aura/aura-dist/lib/aura-compiler.jar -cp classes -debug -verbose com.example.HelloWorld

maybe use
aura -c classes -g -v com.example.HelloWorld

Perhaps it might be of some gain to fix the wrapper script than to change the java code

Unable to compile under Mac OS X 10.12

Is Mac OS X a supporting platform?
I am not able to compile it, I get the following error instead:

CMake Error at CMakeLists.txt:89 (message):
Failed to locate MacOSX SDK 10.11

Add resource arg

Currently there's no way to add resources via CLI -- there should be an argument for this

--resource (-r) or similar

OpenJDK8/9 port

Currently robovm/aura uses the android/apache harmony jdk.

As aura targets desktop usage specifically, an openjdk port would be beneficial. initially this port could be targeted for the jdk8 compact profile 1 and gradually expanded to other profiles.

Perhaps it's interesting to investigate if openjdk mobile http://openjdk.java.net/projects/mobile/ could be of use?

Library support

Add a feature to output a library, rather than executable

Documentation

Write some doco:

  • creating a distribution release
  • compiling aura
  • how to use aura

Compiling jar with aura fails

Trying to compile an existing java jar with aura fails with error (I used the instructions in the wiki):
Exception in thread "main" java.lang.UnsatisfiedLinkError: Native library for linux-x86_64 not found
at aura.llvm.NativeLibrary.load(NativeLibrary.java:72)
at aura.llvm.binding.LLVMJNI.(LLVMJNI.java:804)
at aura.llvm.binding.LLVM.getLlvmHostTriple(LLVM.java:3103)
at aura.llvm.Target.(Target.java:36)
at aura.compiler.config.OS.getDefaultOS(OS.java:55)
at aura.compiler.target.ConsoleTarget.init(ConsoleTarget.java:93)
at aura.compiler.config.Config.build(Config.java:811)
at aura.compiler.config.ConfigBuilder.build(ConfigBuilder.java:402)
at aura.compiler.AppCompiler.main(AppCompiler.java:410)

Building java code fails during test phase

Building with gradlew build fails with the following error:

:llvm:test
aura.llvm.TargetMachineTest > testEmitToFile FAILED
java.lang.UnsatisfiedLinkError at TargetMachineTest.java:33
aura.llvm.TargetMachineTest > testAssemble FAILED
java.lang.NoClassDefFoundError at TargetMachineTest.java:46
aura.llvm.ObjectFileTest > testReadSections FAILED
java.lang.NoClassDefFoundError at ObjectFileTest.java:62
aura.llvm.ObjectFileTest > testLineNumberInfo FAILED
java.lang.NoClassDefFoundError at ObjectFileTest.java:123
aura.llvm.ObjectFileTest > testLoadFromFile FAILED
java.lang.NoClassDefFoundError at ObjectFileTest.java:42
aura.llvm.ModuleTest > testParseIRString FAILED
java.lang.NoClassDefFoundError at ModuleTest.java:36
aura.llvm.TargetTest > testGetTargets FAILED
java.lang.NoClassDefFoundError at TargetTest.java:34
aura.llvm.TargetTest > testLookupTarget FAILED
java.lang.NoClassDefFoundError at TargetTest.java:60
aura.llvm.TargetTest > testGetTarget FAILED
java.lang.NoClassDefFoundError at TargetTest.java:47
aura.llvm.TargetTest > testGetTargetsMap FAILED
java.lang.NoClassDefFoundError at TargetTest.java:40
13 tests completed, 10 failed, 3 skipped
:llvm:test FAILED

I was able to work around it by disabling the gradle task -x llvm:test but ideally that should not be used.

Add line debugging

Exceptions should show line numbers:

aura:

java.lang.Exception: test
    at com.example.HelloWorld.main(HelloWorld.java)

java:

Exception in thread "main" java.lang.Exception: test
    at com.example.HelloWorld.main(HelloWorld.java:8)

fix aura script

bin/aura shell script still references robovm dirs and jars -- this needs to be fixed.

Also the env vars need to be renamed

Active RoboVM fork?

I followed from RoboVM's forks here, is this a kind of fork you are actively working on? if so I would love to help you with it, probably first things like docs and co.

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.