On Thu, Dec 05, 2024 at 10:01:42AM +0900, ASOU Masato wrote:
> Ok, I will make devel/llvm-lit.

Attached is a llvm-openmp that uses llvm-lit as test dependency.

Unfortunately some tests are failing.

Total Discovered Tests: 305
  Unsupported:  18 (5.90%)
  Passed     : 246 (80.66%)
  Failed     :  41 (13.44%)

Nevertheless I want to get some of these ports commited and debug
problems in tree.  llvm-lit passes all self tests.

bluhm

> --
> ASOU Masato
> 
> On Wed, Dec 4, 2024 at 8:00???PM Alexander Bluhm <alexander.bl...@gmx.net> 
> wrote:
> >
> > On Wed, Dec 04, 2024 at 01:52:22PM +0900, ASOU Masato wrote:
> > > Hi blum,
> > >
> > > I'm using OpenBSD 7.6 RELEASE on amd64 box.  I installed cmake and ninja
> > > from the binary package and compiled llvm-openmp successfully.  I also
> > > ran `make test' on /usr/ports/devel/llvm-openmp and I got the following
> > > result:
> > >
> > > $ make test
> > > ===>  Regression tests for llvm-openmp-16.0.6
> > > UpdateCTestConfiguration  from
> > > :/usr/ports/pobj/llvm-openmp-16.0.6/build-amd64/DartConfiguration.tcl
> > > UpdateCTestConfiguration  from
> > > :/usr/ports/pobj/llvm-openmp-16.0.6/build-amd64/DartConfiguration.tcl
> > > Test project /usr/ports/pobj/llvm-openmp-16.0.6/build-amd64
> > > Constructing a list of tests
> > > Updating test list for fixtures
> > > Added 0 tests to meet fixture requirements
> > > Checking test dependency graph...
> > > Checking test dependency graph end
> > > No tests were found!!!
> > >
> > > Could you teach me how to test OpenMP?
> >
> > It seems that we are missing llvm-lit.
> >
> > I can port that software also and see if it works.  But I wanted
> > to show the port before porting more for testing it.
> >
> > bluhm
> >
> > >
> > > Thank you.
> > > --
> > > ASOU Masato
> > >
> > > On Wed, Dec 4, 2024 at 7:34???AM Alexander Bluhm <bl...@openbsd.org> 
> > > wrote:
> > > >
> > > > Hi,
> > > >
> > > > I need OpenMP for some other port I am working on.  It is an extension
> > > > for gcc or clang.  Currently I only need it for base clang, so I
> > > > build it from llvm 16.0.6 sources.
> > > >
> > > > Comment:
> > > > LLVM OpenMP libraries
> > > >
> > > > Description:
> > > > The OpenMP API supports multi-platform shared-memory parallel
> > > > programming in C/C++ and Fortran. The OpenMP API defines a portable,
> > > > scalable model with a simple and flexible interface for developing
> > > > parallel applications on platforms from the desktop to the
> > > > supercomputer.
> > > >
> > > > ok to import?
> > > >
> > > > bluhm

Attachment: llvm-openmp.tgz
Description: application/tar-gz

Reply via email to