Changes between Version 20 and Version 22 of Ticket #26249


Ignore:
Timestamp:
08/31/19 21:37:09 (2 years ago)
Author:
dimpase
Comment:

to use flang (which is a possibility on FreeBSD at least), one needs

  • build/pkgs/numpy/spkg-install

    a b export FFLAGS="$FFLAGS -fPIC" 
    1818export FCFLAGS="$FCFLAGS -fPIC"
    1919
    2020export NUMPY_FCONFIG="config_fc --noopt --noarch"
    21 
     21export LDFLAGS="$LDFLAGS -lexecinfo" # needed for flang
    2222################################################
    2323
    2424sage-python23 setup.py \

due to it being somewhat underlinked.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26249

    • Property Milestone changed from sage-8.8 to sage-pending
  • Ticket #26249 – Description

    v20 v22  
    66libgcc_s.so.1 /usr/local/lib/gcc7/libgcc_s.so.1
    77}}}
     8Also, we create the following symbolic links:
     9{{{
     10$ ls -l ~/bin
     11total 0
     12lrwxr-xr-x  1 dima  dima  20 Apr 27 12:49 make -> /usr/local/bin/gmake
     13lrwxr-xr-x  1 dima  dima  21 Apr 27 13:46 patch -> /usr/local/bin/gpatch
     14}}}
     15and use the standard shell, `/bin/sh`. In `~/.profile` we put
     16{{{
     17export LDFLAGS="-L/usr/local/lib"
     18export CFLAGS="-I/usr/local/include"
     19export CXXFLAGS=$CFLAGS
     20export CPPFLAGS=$CFLAGS
     21export FCFLAGS=$CFLAGS
     22export FFLAGS=$CFLAGS
     23}}}
     24to account for clang not looking into `/usr/local` by default.
     25
    826
    927Things to fix: