truedat101 / dlang-sv-community

A community repository for stuff related to #dlang Silicon Valley Meetup group
http://www.meetup.com/D-Lang-Silicon-Valley/
2 stars 1 forks source link

ldc2 needs AARCH64 support (and ideally upstream packages) #45

Open truedat101 opened 6 years ago

truedat101 commented 6 years ago

Need a working ldc build on AARCH64 platforms. Possible targets might include: mobile (basically all new devices on the market), Jetson TX2, raspi3, pine64, etc.

This issue is being worked by the LDC core and others here: https://github.com/ldc-developers/ldc/issues/2153

truedat101 commented 6 years ago

In discussion with an ldc developer

Hi David,

let me start by thanking you for your offer, greatly appreciated.
As to OS/distro, we're currently running builds and tests on Debian/Ubuntu, so that'd allow for streamlined CI scripts. But I don't think that's very important, so any 64-bit OS should do.
As to CI server, we currently fully rely on popular CI services (Travis, CircleCI, SemaphoreCI and AppVeyor). We don't have any private build slaves ourselves so far and thus unfortunately no experience with integrating them.
https://developer.github.com/v3/guides/building-a-ci-server/ provides some info; apparently GitHub pushes notifications about new commits to be tested; a DDNS service may suffice to work around your static IP issue. I don't know how much of a hassle it is to set up something GitHub proposes (Janky + Jenkins), or whether there are more appropriate small servers with out-of-the-box GitHub integration.

Best regards,
kinke

    Hello @Kinke,

    I am writing in regards to https://github.com/ldc-developers/ldc/issues/2153#issuecomment-348646673 (I am @truedat101)

    I have a PINE64 cluster that I would like to make available for LDC project work as a CI server build node. I did a bit of research to see what Linux distros are available:

    http://wiki.pine64.org/index.php/Pine_A64_Software_Release

    I believe it is currently setup with SUSE, but I don't recall. In any regards, I'd like to provide whatever your team needs, and I can get it staged however is required. Here is the actual device:

    https://www.picocluster.com/collections/pico-5/products/pico-5-pine64

    The trick I need to pull off is getting this onto the internet. I can put it on my home/office network, however, I'm not sure about your current CI server configuration. If it can be setup to operate in a pull configuration, it might work easily. Part of the problem I have is with my ISP and the way they handle the static IPs. I do have one, but because of the stupid router they use, I almost think it is not usable.

    Let me know what the next steps might be.

    Thank you.

    David
truedat101 commented 6 years ago

I am checking w/ Michael at Constructive Labs to see if I can put my Pine64 picocluster into his rack.

truedat101 commented 6 years ago

I don't have co-lo space. Will go the DDNS route.

truedat101 commented 6 years ago

Also, found the passwords for the servers.

truedat101 commented 5 years ago

The call is being answered, very exciting: https://github.com/ldc-developers/ldc/issues/2153#issuecomment-402267187

truedat101 commented 5 years ago

I need to check in to see if this is all working now on an arch64 platform. If so, we just need to get packages going again for ArchLInux, for example.

truedat101 commented 5 years ago

This appears to be done. Try out the ldc2 binary on aarch64 (maybe an espressobin) on ArchLinux ARM.

truedat101 commented 5 years ago

Someone posted a little github project with a complete walkthru of ldc2/raspi set up. Link it here.

truedat101 commented 4 years ago

TODO: Need to verify the built binaries on one of my aarch64 devices, presumably it's all good now, and double check what's up with building it on target (if that's possible ... ) otherwise, try cross compiling.