News for hackers. Stuff that matters.
Re:Building Elixir from source segfaults on macOS on Apple S... by oefrha on Monday July 13, 2020 @02:26PM (#23823913)
By Homebrew policy, anything requiring a C/C++ compiler but doesn't compile with clang is out. So gcc not working shouldn't disrupt the overall Homebrew ecosystem too much. The biggest problem is gfortran, which is what the great majority of gcc dependents use it for (just `rg 'depends_on "gcc"'` in homebrew-core and all the "# for gfortran" comments should make this obvious).

Btw, here's the list turned up by a dependent search in core:

  $ brew uses --recursive gcc
  abyss                           dynare                          itk                             numpy                           qrupdate
  adios2                          eccodes                         itpp                            [email protected]                      r
  apache-arrow                    ensmallen                       jags                            nwchem                          ratfor
  apache-arrow-glib               fastme                          joplin                          octave                          rawtoaces
  arcade-learning-environment     fftw                            json-fortran                    ola                             raxml-ng
  armadillo                       field3d                         kahip                           ompl                            reprepro
  arpack                          flann                           kallisto                        open-mpi                        root
  arss                            fobis                           kim-api                         openblas                        scalapack
  astrometry-net                  gdal                            lammps                          opencoarrays                    scipy
  asymptote                       gdcm                            lapack                          opencv                          shogun
  aubio                           gmic                            libbi                           opencv@2                        simple-tiles
  augustus                        gmsh                            libmatio                        opencv@3                        siril
  biosig                          gmt                             libxc                           openfast                        skymaker
  boost-mpi                       gmt@5                           liquid-dsp                      openkim-models                  sratoolkit
  bsponmpi                        gnuradio                        luaradio                        osi                             suite-sparse
  caffe                           gr-osmosdr                      mapnik                          osm2pgrouting                   sundials
  calceph                         grace                           mapserver                       otf2                            superlu
  cdo                             graph-tool                      minimodem                       packmol                         synfig
  ceres-solver                    gromacs                         mlpack                          pcl                             urh
  cgns                            gwyddion                        mpdviz                          pdal                            veclibfort
  clp                             hackrf                          mpi4py                          petsc                           vips
  coinutils                       hdf5                            mpich                           petsc-complex                   virtualpg
  cp2k                            hdf5-mpi                        mvtools                         pgplot                          visp
  cpl                             [email protected]                       ncmpcpp                         pgrouting                       vtk
  csound                          [email protected]                        nco                             plplot                          waon
  dartsim                         hypre                           ncview                          pnetcdf                         wxpython
  datetime-fortran                imake                           nest                            points2grid                     zita-convolver
  dlib                            imgproxy                        netcdf                          postgis
  dungeon                         inspectrum                      networkit                       proteinortho
  dvc                             ipopt                           ngspice                         qd
147 formulae.

Edit: Forgot to --include-build. That would add 4:

  boost-python3 btfs libtorrent-rasterbar openimageio
libtorrent-rasterbar made front page today btw...
Re:Building Elixir from source segfaults on macOS on Apple S... by floatboth on Monday July 13, 2020 @02:35PM (#23824027)
Weird to see wxPython on the list..
Re:Building Elixir from source segfaults on macOS on Apple S... by oefrha on Monday July 13, 2020 @02:39PM (#23824070)
Any numpy (which uses gfortran) dependent is on that list. I suspect some could partially work by sacrificing some functionality, or maybe just run slower (disclaimer: I have no idea of numpy internals).
Re:Building Elixir from source segfaults on macOS on Apple S... by kalleboo on Tuesday July 14, 2020 @02:19AM (#23829093)
Interestingly at WWDC Apple said that they are contributing patches to NumPy to get it to work on Apple Silicon
Re:Building Elixir from source segfaults on macOS on Apple S... by vmchale on Monday July 13, 2020 @03:18PM (#23824494)
Wouldn't that entail swapping out all the underlying Fortran that makes NumPy so lovely?
Re:Building Elixir from source segfaults on macOS on Apple S... by dnautics on Monday July 13, 2020 @02:49PM (#23824184)
does numpy leverage blas?
Re:Building Elixir from source segfaults on macOS on Apple S... by oefrha on Monday July 13, 2020 @03:15PM (#23824469)
Re:Building Elixir from source segfaults on macOS on Apple S... by dnautics on Monday July 13, 2020 @05:47PM (#23825935)
well, that's probably where the fortran dependency could creep in, no?
Re:Building Elixir from source segfaults on macOS on Apple S... by sacheendra on Monday July 13, 2020 @03:15PM (#23824464)
yes