Page MenuHomeFreeBSD

math/R: Fix build issues when LIBR option is off and fix runtime issue by permitting FLANG only with RBLAS.
ClosedPublic

Authored by jrm on Jul 25 2017, 2:17 AM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 27 2024, 1:17 AM
Unknown Object (File)
Dec 31 2023, 2:08 PM
Unknown Object (File)
Dec 31 2023, 2:08 PM
Unknown Object (File)
Dec 31 2023, 2:08 PM
Unknown Object (File)
Dec 31 2023, 2:08 PM
Unknown Object (File)
Dec 28 2023, 7:57 AM
Unknown Object (File)
Dec 20 2023, 6:37 AM
Unknown Object (File)
Dec 17 2023, 5:54 PM
Subscribers

Details

Summary
  • Only apply SONAME patches when the relevant options are chosen. This prevents install errors when LIBR is off.
  • Only permit the FLANG option when RBLAS is chosen, because FLANG causes some configure-time checks to fail [1] and the shared RBLAS library is fallen back upon, but not properly packaged, which causes runtime issues.
  • Bump PORTREVISION

[1]
checking for dgemm_ in -lblas
result no
cc -o conftest -O2 -pipe -DLIBICONV_PLUG -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -fpic -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/
include -L/usr/local/flang/lib -lflang -lexecinfo -L/usr/local/lib -L/usr/local/lib -fstack-protector conftest.c -lblas -lflangmain -lflang -lflangrti -lompstub -lexecinfo -lrt -lm -L/us
r/local/lib >&5
/usr/bin/ld cannot find -lblas
cc error linker command failed with exit code 1 (use -v to see invocation)

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 10657
Build 11061: arc lint + arc unit

Event Timeline

jrm retitled this revision from math/R: Fix build issues when LIBR option is off and fix runtime issue by permitting FLANG only with RBLAS. to math/R: Fix build issues when LIBR option is off and fix runtime issue bypermitting FLANG only with RBLAS..Jul 25 2017, 2:19 AM
jrm added reviewers: pawel, yuri_rawbw.com.
jrm removed subscribers: yuri_rawbw.com, pawel.
jrm retitled this revision from math/R: Fix build issues when LIBR option is off and fix runtime issue bypermitting FLANG only with RBLAS. to math/R: Fix build issues when LIBR option is off and fix runtime issue by permitting FLANG only with RBLAS..Jul 25 2017, 7:09 PM
This revision was automatically updated to reflect the committed changes.