Page MenuHomeFreeBSD

Bring back lang/julia and lang/julia10
Needs ReviewPublic

Authored by nyan_myuji.xyz on Mar 21 2021, 11:29 AM.

Details

Summary

lang/julia and lang/julia10 was removed from ports as it uses python2.7,
this patch make them use python3.6+ and bring them back to ports

Test Plan

poudriere: testport succeed on 12.2-release

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 37971
Build 34860: arc lint + arc unit

Event Timeline

remove lang/julia and lang/juila10 from MOVED

Thanks for resurrecting julia!

I have two remarks:

  • any reason to work on 1.0.3? The latest release is now 1.5.4, and 1.6.0 is now at -rc3;
  • when using the external BLAS, you could set USES+= blaslapack:openblas

Thanks for resurrecting julia!

I have two remarks:

  • any reason to work on 1.0.3? The latest release is now 1.5.4, and 1.6.0 is now at -rc3;
  • when using the external BLAS, you could set USES+= blaslapack:openblas

The port is actually 1.0.5, the latest release is indeed 1.5.4 but the LTS version is at 1.0.5. I haven't got time yet to port the latest version over but I figure I can bring the LTS version back first.
For BLAS, since the original port works well therefore I think I'd just keep it as is.

lang/julia10/Makefile
70

Could you change the OPENLIBM to SYSLIBM as default option?

kargl@ suggests that switching back to system libm as default (or just removing the openlibm knob) since there are some issues on i386 platform (https://github.com/JuliaMath/openlibm/issues/205, https://github.com/JuliaMath/openlibm/issues/206). And these issues have been fixed by system libm.

lang/julia/Makefile
5–6
lang/julia10/Makefile
93

Not sure why we need this?

when using the external BLAS, you could set USES+= blaslapack:openblas

Ah, I didn't discover that knob before. Let's use it.

lang/julia/Makefile
8–10

Something wrong with USES=metaport?

lang/julia10/Makefile
5
19–30

This is badly ordered, order is EXTRACT/BUILD/LIB.

112

This is at the wrong place, should be way up.

126–132

This does not actually need to be guarded by the openblas option.

lang/julia/Makefile
8–10

metaport implies NO_INSTALL, but we still need to install the symlink.