Re: NEW: lang/ldc

2021-11-22 Thread Tracey Emery
On Sat, Nov 20, 2021 at 04:01:28PM +, Brian Callahan wrote:
> 
> 
> On 10/20/2021 08:16 PM, Brian Callahan wrote:
> > Hi ports --
> > 
> > Attached is a new port, lang/ldc. LDC is the LLVM D Compiler.
> > 
> > ---
> > pkg/DESCR:
> > The LDC project aims to provide a portable D programming language
> > compiler with modern optimization and code generation capabilities.
> > The compiler uses the official DMD frontend to support the latest D2
> > version and relies on the LLVM Core libraries for code generation.
> > ---
> > 
> > Some notes:
> > * Uses a bootstrap model like DMD. But unlike DMD, in theory LDC can
> > be built and run on anything that LLVM supports. For now though,
> > ONLY_FOR_ARCHS=amd64. This bootstrap is made in a way that additional
> > arch support can be easily added when the time comes.
> > * gkoehler@'s Fibers patch and some of my dmd-2.099.0 code is in
> > patches/ (ioctl handling)
> > * Lots of tests fail. It's more like many don't run, but that gets
> > reported as a failure. I am sure some of it is legit and some of it is
> > infrastructure weirdness. I will work to improve that situation.
> > * LDC is able to build a dub that passes all of the dub tests, can
> > rebuild itself (obviously), and is able to build and run all the D
> > code I have managed to throw at LDC so far.
> > 
> > OK?
> > 
> > ~Brian
> 
> Ping. Port reattached.
> 
> ~Brian

Build fine and easily compiles a small program. ok.

-- 

Tracey Emery



Re: NEW: lang/ldc

2021-11-20 Thread Brian Callahan



On 10/20/2021 08:16 PM, Brian Callahan wrote:

Hi ports --

Attached is a new port, lang/ldc. LDC is the LLVM D Compiler.

---
pkg/DESCR:
The LDC project aims to provide a portable D programming language
compiler with modern optimization and code generation capabilities.
The compiler uses the official DMD frontend to support the latest D2
version and relies on the LLVM Core libraries for code generation.
---

Some notes:
* Uses a bootstrap model like DMD. But unlike DMD, in theory LDC can
be built and run on anything that LLVM supports. For now though,
ONLY_FOR_ARCHS=amd64. This bootstrap is made in a way that additional
arch support can be easily added when the time comes.
* gkoehler@'s Fibers patch and some of my dmd-2.099.0 code is in
patches/ (ioctl handling)
* Lots of tests fail. It's more like many don't run, but that gets
reported as a failure. I am sure some of it is legit and some of it is
infrastructure weirdness. I will work to improve that situation.
* LDC is able to build a dub that passes all of the dub tests, can
rebuild itself (obviously), and is able to build and run all the D
code I have managed to throw at LDC so far.

OK?

~Brian


Ping. Port reattached.

~Brian

ldc.tgz
Description: GNU Zip compressed data


NEW: lang/ldc

2021-10-20 Thread Brian Callahan

Hi ports --

Attached is a new port, lang/ldc. LDC is the LLVM D Compiler.

---
pkg/DESCR:
The LDC project aims to provide a portable D programming language
compiler with modern optimization and code generation capabilities.
The compiler uses the official DMD frontend to support the latest D2
version and relies on the LLVM Core libraries for code generation.
---

Some notes:
* Uses a bootstrap model like DMD. But unlike DMD, in theory LDC can be 
built and run on anything that LLVM supports. For now though, 
ONLY_FOR_ARCHS=amd64. This bootstrap is made in a way that additional 
arch support can be easily added when the time comes.
* gkoehler@'s Fibers patch and some of my dmd-2.099.0 code is in 
patches/ (ioctl handling)
* Lots of tests fail. It's more like many don't run, but that gets 
reported as a failure. I am sure some of it is legit and some of it is 
infrastructure weirdness. I will work to improve that situation.
* LDC is able to build a dub that passes all of the dub tests, can 
rebuild itself (obviously), and is able to build and run all the D code 
I have managed to throw at LDC so far.


OK?

~Brian


ldc.tgz
Description: GNU Zip compressed data