diff --git a/sci-libs/suitesparse/licenses/SUITESPARSE b/sci-libs/suitesparse/licenses/SUITESPARSE new file mode 100644 index 000000000..445759392 --- /dev/null +++ b/sci-libs/suitesparse/licenses/SUITESPARSE @@ -0,0 +1,940 @@ +==> AMD/Doc/License.txt <== + + AMD, Copyright (c), 1996-2015, Timothy A. Davis, + Patrick R. Amestoy, and Iain S. Duff. All Rights Reserved. + + Availability: + + http://www.suitesparse.com + + ------------------------------------------------------------------------------- + AMD License: BSD 3-clause: + ------------------------------------------------------------------------------- + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of the organizations to which the authors are + affiliated, nor the names of its contributors may be used to endorse + or promote products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + DAMAGE. + +==> BTF/Doc/License.txt <== + BTF, Copyright (C) 2004-2013, University of Florida + by Timothy A. Davis and Ekanathan Palamadai. + BTF is also available under other licenses; contact authors for details. + http://www.suitesparse.com + + -------------------------------------------------------------------------------- + + BTF is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + BTF is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this Module; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +==> CAMD/Doc/License.txt <== + + CAMD, Copyright (c) by Timothy A. Davis, + Yanqing Chen, + Patrick R. Amestoy, and Iain S. Duff. All Rights Reserved. + CAMD is available under alternate licenses, contact T. Davis for details. + + CAMD License: BSD 3-clause + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of the organizations to which the authors are + affiliated, nor the names of its contributors may be used to endorse + or promote products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + DAMAGE. + + Availability: + + http://www.suitesparse.com + +==> CCOLAMD/Doc/License.txt <== + + CCOLAMD: constrained column approximate minimum degree ordering + Copyright (C) 2005-2016, Univ. of Florida. Authors: Timothy A. Davis, + Sivasankaran Rajamanickam, and Stefan Larimore. Closely based on COLAMD by + Davis, Stefan Larimore, in collaboration with Esmond Ng, and John Gilbert. + http://www.suitesparse.com + + -------------------------------------------------------------------------------- + + CCOLAMD license: BSD 3-clause: + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of the organizations to which the authors are + affiliated, nor the names of its contributors may be used to endorse + or promote products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + DAMAGE. + + -------------------------------------------------------------------------------- + +==> CHOLMOD/Doc/License.txt <== + -------------------------------------------------------------------------------- + ==> Check/License.txt <== + -------------------------------------------------------------------------------- + + CHOLMOD/Check Module. Copyright (C) 2005-2006, Timothy A. Davis CHOLMOD is + also available under other licenses; contact authors for details. + http://www.suitesparse.com + + Note that this license is for the CHOLMOD/Check module only. + All CHOLMOD modules are licensed separately. + + ---------------------------------------------------------------------------- + + This Module is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This Module is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this Module; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + -------------------------------------------------------------------------------- + ==> Cholesky/License.txt <== + -------------------------------------------------------------------------------- + + CHOLMOD/Cholesky module, Copyright (C) 2005-2006, Timothy A. Davis. + CHOLMOD is also available under other licenses; contact authors for + details. http://www.suitesparse.com + + Note that this license is for the CHOLMOD/Cholesky module only. + All CHOLMOD modules are licensed separately. + + ---------------------------------------------------------------------------- + + + This Module is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This Module is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this Module; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + -------------------------------------------------------------------------------- + ==> Core/License.txt <== + -------------------------------------------------------------------------------- + + CHOLMOD/Core Module. Copyright (C) 2005-2006, Univ. of Florida. Author: + Timothy A. Davis. CHOLMOD is also available under other licenses; contact + authors for details. http://www.suitesparse.com + + Note that this license is for the CHOLMOD/Core module only. + All CHOLMOD modules are licensed separately. + + + ---------------------------------------------------------------------------- + + + This Module is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This Module is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this Module; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + -------------------------------------------------------------------------------- + ==> Demo/License.txt <== + -------------------------------------------------------------------------------- + + CHOLMOD/Demo Module. Copyright (C) 2005-2006, Timothy A. Davis. CHOLMOD + is also available under other licenses; contact authors for details. + http://www.suitesparse.com + + Note that this license is for the CHOLMOD/Demo module only. + All CHOLMOD modules are licensed separately. + + + ---------------------------------------------------------------------------- + + + This Module is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + This Module is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this Module; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + + -------------------------------------------------------------------------------- + ==> Include/License.txt <== + -------------------------------------------------------------------------------- + + CHOLMOD/Include/* files. Copyright (C) 2005-2006, either Univ. of Florida + or T. Davis, depending on the file. + + Each file is licensed separately, according to the Module for which it + contains definitions and prototypes: + + Include/cholmod.h LGPL + Include/cholmod_blas.h LGPL + Include/cholmod_camd.h part of Partition module + Include/cholmod_check.h part of Check module + Include/cholmod_cholesky.h part of Cholesky module + Include/cholmod_complexity.h LGPL + Include/cholmod_config.h LGPL + Include/cholmod_core.h part of Core module + Include/cholmod_function.h no license; freely usable, no restrictions + Include/cholmod_gpu.h part of GPU module + Include/cholmod_gpu_kernels.h part of GPU module + Include/cholmod_internal.h LGPL + Include/cholmod_io64.h LGPL + Include/cholmod_matrixops.h part of MatrixOps module + Include/cholmod_modify.h part of Modify module + Include/cholmod_partition.h part of Partition module + Include/cholmod_supernodal.h part of Supernodal module + Include/cholmod_template.h LGPL + + -------------------------------------------------------------------------------- + ==> MATLAB/License.txt <== + -------------------------------------------------------------------------------- + + CHOLMOD/MATLAB Module. Copyright (C) 2005-2006, Timothy A. Davis. CHOLMOD + is also available under other licenses; contact authors for details. + MATLAB(tm) is a Registered Trademark of The MathWorks, Inc. + http://www.suitesparse.com + + Note that this license is for the CHOLMOD/MATLAB module only. + All CHOLMOD modules are licensed separately. + + ---------------------------------------------------------------------------- + + + This Module is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + This Module is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this Module; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + + -------------------------------------------------------------------------------- + ==> MatrixOps/License.txt <== + -------------------------------------------------------------------------------- + + CHOLMOD/MatrixOps Module. Copyright (C) 2005-2006, Timothy A. Davis. + CHOLMOD is also available under other licenses; contact authors for + details. http://www.suitesparse.com + + Note that this license is for the CHOLMOD/MatrixOps module only. + All CHOLMOD modules are licensed separately. + + + ---------------------------------------------------------------------------- + + + This Module is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + This Module is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this Module; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + + -------------------------------------------------------------------------------- + ==> Modify/License.txt <== + -------------------------------------------------------------------------------- + + CHOLMOD/Modify Module. Copyright (C) 2005-2006, Timothy A. Davis and + William W. Hager. CHOLMOD is also available under other licenses; contact + authors for details. http://www.suitesparse.com + + Note that this license is for the CHOLMOD/Modify module only. + All CHOLMOD modules are licensed separately. + + + ---------------------------------------------------------------------------- + + + This Module is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + This Module is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this Module; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + + -------------------------------------------------------------------------------- + ==> Partition/License.txt <== + -------------------------------------------------------------------------------- + + CHOLMOD/Partition Module. + Copyright (C) 2005-2006, Univ. of Florida. Author: Timothy A. Davis + CHOLMOD is also available under other licenses; contact authors for details. + http://www.suitesparse.com + + Note that this license is for the CHOLMOD/Partition module only. + All CHOLMOD modules are licensed separately. + + + ---------------------------------------------------------------------------- + + + This Module is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This Module is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this Module; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + -------------------------------------------------------------------------------- + ==> Supernodal/License.txt <== + -------------------------------------------------------------------------------- + + CHOLMOD/Supernodal Module. + Copyright (C) 2005-2006, Timothy A. Davis + CHOLMOD is also available under other licenses; contact authors for details. + http://www.suitesparse.com + + Note that this license is for the CHOLMOD/Supernodal module only. + All CHOLMOD modules are licensed separately. + + + ---------------------------------------------------------------------------- + + + This Module is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + This Module is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this Module; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + + -------------------------------------------------------------------------------- + ==> Tcov/License.txt <== + -------------------------------------------------------------------------------- + + CHOLMOD/Tcov Module. Copyright (C) 2005-2006, Timothy A. Davis + CHOLMOD is also available under other licenses; contact authors for details. + http://www.suitesparse.com + + Note that this license is for the CHOLMOD/Tcov module only. + All CHOLMOD modules are licensed separately. + + + ---------------------------------------------------------------------------- + + + This Module is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + This Module is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this Module; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + + -------------------------------------------------------------------------------- + ==> Valgrind/License.txt <== + -------------------------------------------------------------------------------- + + CHOLMOD/Valgrind Module. Copyright (C) 2005-2006, Timothy A. Davis. + CHOLMOD is also available under other licenses; contact authors for details. + http://www.suitesparse.com + + Note that this license is for the CHOLMOD/Valgrind module only. + All CHOLMOD modules are licensed separately. + + + ---------------------------------------------------------------------------- + + + This Module is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + This Module is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this Module; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + +==> COLAMD/Doc/License.txt <== + COLAMD, Copyright 1998-2016, Timothy A. Davis. http://www.suitesparse.com + http://www.suitesparse.com + + COLAMD License: BSD 3-clause + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of the organizations to which the authors are + affiliated, nor the names of its contributors may be used to endorse + or promote products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + DAMAGE. + +==> CSparse/Doc/License.txt <== + CSparse: a Concise Sparse matrix package. + Copyright (c) 2006, Timothy A. Davis. + http://www.suitesparse.com + + -------------------------------------------------------------------------------- + + CSparse is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + CSparse is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this Module; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +==> CXSparse/Doc/License.txt <== + CXSparse: a Concise Sparse matrix package - Extended. + Copyright (c) 2006, Timothy A. Davis. + http://www.suitesparse.com + + -------------------------------------------------------------------------------- + + CXSparse is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + CXSparse is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this Module; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +==> CXSparse_newfiles/Doc/License.txt <== + CXSparse: a Concise Sparse matrix package - Extended. + Copyright (c) 2006, Timothy A. Davis. + http://www.suitesparse.com + + -------------------------------------------------------------------------------- + + CXSparse is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + CXSparse is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this Module; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +==> GPUQREngine/Doc/License.txt <== + GPUQREngine Copyright (c) 2013, Timothy A. Davis, Sencer Nuri Yeralan, + and Sanjay Ranka. + http://www.suitesparse.com + + GPUQREngine is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free Software + Foundation; either version 2 of the License, or (at your option) any later + version. + + GPUQREngine is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along with + this Module; if not, write to the Free Software Foundation, Inc., 51 Franklin + Street, Fifth Floor, Boston, MA 02110-1301, USA. + + +==> KLU/Doc/License.txt <== + KLU, Copyright (C) 2004-2013, University of Florida + by Timothy A. Davis and Ekanathan Palamadai. + KLU is also available under other licenses; contact authors for details. + http://www.suitesparse.com + + -------------------------------------------------------------------------------- + + KLU is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + KLU is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this Module; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +==> LDL/Doc/License.txt <== + LDL Copyright (c) 2005-2013 by Timothy A. Davis. + LDL is also available under other licenses; contact the author for details. + http://www.suitesparse.com + + -------------------------------------------------------------------------------- + + LDL is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + LDL is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this Module; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +==> MATLAB_Tools/Doc/License.txt <== + The MATLAB_Tools collection of packages is + Copyright (c), Timothy A. Davis, All Rights Reserved, + with the exception of the spqr_rank package, which is + Copyright (c), Timothy A. Davis and Les Foster, All Rights Reserved, + + All packages are available under alternative licenses. + Contact the authors for details. + + -------------------------------------------------------------------------------- + MATLAB_Tools License, with the exception of SSMULT and SuiteSparseCollection: + -------------------------------------------------------------------------------- + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of the organizations to which the authors are + affiliated, nor the names of its contributors may be used to endorse + or promote products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + DAMAGE. + + -------------------------------------------------------------------------------- + SuiteSparseCollection License: + -------------------------------------------------------------------------------- + + SuiteSparseCollection is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + SuiteSparseCollection is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + -------------------------------------------------------------------------------- + SSMULT License: + -------------------------------------------------------------------------------- + + SSMULT, Copyright (c) 2007-2011, Timothy A. Davis, + http://www.suitesparse.com. + + SSMULT is free software; you can redistribute it and/or modify it under the + terms of the GNU General Public License as published by the Free Software + Foundation; either version 2 of the License, or (at your option) any later + version. + + SSMULT is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + details. + + You should have received a copy of the GNU General Public License along + with this package; if not, write to the Free Software Foundation, Inc., 51 + Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + +==> RBio/Doc/License.txt <== + RBio toolbox. Copyright (C) 2006-2009, Timothy A. Davis + RBio is also available under other licenses; contact authors for details. + http://www.suitesparse.com + + -------------------------------------------------------------------------------- + + RBio is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + RBio is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this Module; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + +==> SPQR/Doc/License.txt <== + SPQR, Copyright 2008-2016 by Timothy A. Davis. + All Rights Reserved. + SPQR is available under alternate licenses, contact T. Davis for details. + + SPQR License: + + Your use or distribution of SPQR or any modified version of + SPQR implies that you agree to this License. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 + USA + + Permission is hereby granted to use or copy this program under the + terms of the GNU GPL, provided that the Copyright, this License, + and the Availability of the original version is retained on all copies. + User documentation of any code that uses this code or any modified + version of this code must cite the Copyright, this License, the + Availability note, and "Used by permission." Permission to modify + the code and to distribute modified code is granted, provided the + Copyright, this License, and the Availability note are retained, + and a notice that the code was modified is included. + + Availability: + + http://www.suitesparse.com + + +==> SuiteSparse_GPURuntime/Doc/License.txt <== + SuiteSparse_GPURuntime Copyright (c) 2013-2016, Timothy A. Davis, + Sencer Nuri Yeralan, and Sanjay Ranka. http://www.suitesparse.com + + -------------------------------------------------------------------------------- + + SuiteSparse_GPURuntime is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by the Free + Software Foundation; either version 2 of the License, or (at your option) any + later version. + + SuiteSparse_GPURuntime is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + details. + + You should have received a copy of the GNU General Public License along with + this Module; if not, write to the Free Software Foundation, Inc., 51 Franklin + Street, Fifth Floor, Boston, MA 02110-1301, USA. + +==> ssget/Doc/License.txt <== + Copyright (c), 2009-2016, Timothy A. Davis, All Rights Reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of the organizations to which the authors are + affiliated, nor the names of its contributors may be used to endorse + or promote products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + DAMAGE. + + +==> UMFPACK/Doc/License.txt <== + UMFPACK, Copyright 1995-2009 by Timothy A. Davis. + All Rights Reserved. + UMFPACK is available under alternate licenses, contact T. Davis for details. + + UMFPACK License: + + Your use or distribution of UMFPACK or any modified version of + UMFPACK implies that you agree to this License. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 + USA + + Permission is hereby granted to use or copy this program under the + terms of the GNU GPL, provided that the Copyright, this License, + and the Availability of the original version is retained on all copies. + User documentation of any code that uses this code or any modified + version of this code must cite the Copyright, this License, the + Availability note, and "Used by permission." Permission to modify + the code and to distribute modified code is granted, provided the + Copyright, this License, and the Availability note are retained, + and a notice that the code was modified is included. + + Availability: + + http://www.suitesparse.com + + +==> CSparse/MATLAB/ssget/Doc/License.txt <== + Copyright (c), 2009-2016, Timothy A. Davis, All Rights Reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of the organizations to which the authors are + affiliated, nor the names of its contributors may be used to endorse + or promote products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + DAMAGE. + + +==> CXSparse/MATLAB/ssget/Doc/License.txt <== + Copyright (c), 2009-2016, Timothy A. Davis, All Rights Reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of the organizations to which the authors are + affiliated, nor the names of its contributors may be used to endorse + or promote products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + DAMAGE. + +==> GraphBLAS/Doc/License.txt <== + SuiteSparse:GraphBLAS, Copyright 2017, Timothy A. Davis + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use SuiteSparse:GraphBLAS except in compliance with the + License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +==> Mongoose License <== + Mongoose, Copyright 2018, Timothy A. Davis, Scott P. Kolodziej, + William W. Hager, S. Nuri Yeralan + Licensed under the GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007 + + diff --git a/sci-libs/suitesparse/patches/suitesparse-5.3.0.patchset b/sci-libs/suitesparse/patches/suitesparse-5.3.0.patchset new file mode 100644 index 000000000..1498d7650 --- /dev/null +++ b/sci-libs/suitesparse/patches/suitesparse-5.3.0.patchset @@ -0,0 +1,65 @@ +From b75aa8d36bc5d05c6abdc86b17869761278c5f01 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Zolt=C3=A1n=20Mizsei?= +Date: Mon, 20 Aug 2018 21:12:59 +0200 +Subject: Build fix + + +diff --git a/Mongoose/CMakeLists.txt b/Mongoose/CMakeLists.txt +index 6b7e88f..a42ae61 100644 +--- a/Mongoose/CMakeLists.txt ++++ b/Mongoose/CMakeLists.txt +@@ -219,7 +219,7 @@ if (EXISTS ${SUITESPARSE_CONFIG_LIBRARY}) + target_link_libraries(mongoose_lib ${SUITESPARSE_CONFIG_LIBRARY}) + endif () + +-if (UNIX AND NOT APPLE) ++if (UNIX AND NOT APPLE AND NOT HAIKU) + target_link_libraries(mongoose_lib rt) + endif () + +@@ -247,7 +247,7 @@ endif () + set_target_properties(mongoose_dylib PROPERTIES PUBLIC_HEADER Include/Mongoose.hpp) + target_include_directories(mongoose_dylib PRIVATE .) + +-if (UNIX AND NOT APPLE) ++if (UNIX AND NOT APPLE AND NOT HAIKU) + target_link_libraries(mongoose_dylib rt) + endif () + +@@ -266,7 +266,7 @@ if (EXISTS ${SUITESPARSE_CONFIG_LIBRARY}) + target_link_libraries(mongoose_lib_dbg ${SUITESPARSE_CONFIG_LIBRARY}) + endif () + +-if (UNIX AND NOT APPLE) ++if (UNIX AND NOT APPLE AND NOT HAIKU) + target_link_libraries(mongoose_lib_dbg rt) + endif () + +-- +2.16.4 + + +From d72a1237ceb0cb2c4b426d822711c61d704318d7 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Zolt=C3=A1n=20Mizsei?= +Date: Tue, 21 Aug 2018 22:25:08 +0200 +Subject: Build fix + + +diff --git a/metis-5.1.0/libmetis/CMakeLists.txt b/metis-5.1.0/libmetis/CMakeLists.txt +index 120e94d..b38917c 100644 +--- a/metis-5.1.0/libmetis/CMakeLists.txt ++++ b/metis-5.1.0/libmetis/CMakeLists.txt +@@ -8,6 +8,10 @@ if(UNIX) + target_link_libraries(metis m) + endif() + ++if(HAIKU) ++ target_link_libraries(metis execinfo) ++endif() ++ + if(METIS_INSTALL) + install(TARGETS metis + LIBRARY DESTINATION lib +-- +2.16.4 + diff --git a/sci-libs/suitesparse/suitesparse-5.3.0.recipe b/sci-libs/suitesparse/suitesparse-5.3.0.recipe new file mode 100644 index 000000000..8e70b20d9 --- /dev/null +++ b/sci-libs/suitesparse/suitesparse-5.3.0.recipe @@ -0,0 +1,468 @@ +SUMMARY="A suite of sparse matrix software" +DESCRIPTION="SuiteSparse is a suite of sparse matrix algorithms, including: + +•GraphBLAS: graph algorithms in the language of linear algebra +•Mongoose: graph partitioning +•ssget: MATLAB and Java interface to the SuiteSparse Matrix Collection +•UMFPACK: multifrontal LU factorization.  Appears as LU and x=A\b in MATLAB. +•CHOLMOD: supernodal Cholesky.  Appears as CHOL and x=A\b in MATLAB.  Now \ +with CUDA acceleration, in collaboration with NVIDIA. +•SPQR: multifrontal QR.  Appears as QR and x=A\b in MATLAB, with CUDA \ +acceleration. +•KLU and BTF:  sparse LU factorization, well-suited for circuit simulation.  +•Ordering methods (AMD, CAMD, COLAMD, and CCOLAMD).  AMD and COLAMD appear \ +in MATLAB. +•CSparse and CXSparse: a concise sparse Cholesky factorization package for \ +my SIAM book. +•spqr_rank: a MATLAB package for reliable sparse rank detection, null set \ +bases, pseudoinverse solutions, and basic solutions. +•Factorize: an object-oriented solver for MATLAB (a reusable backslash). +•SSMULT and SFMULT: sparse matrix multiplication.  Appears as the built-in \ +C=A*B operator in MATLAB. +•... and many other packages." +HOMEPAGE="http://www.suitesparse.com" +COPYRIGHT="1996-2018 Timothy A. Davis et al." +LICENSE="SUITESPARSE" +REVISION="1" +SOURCE_URI="http://faculty.cse.tamu.edu/davis/SuiteSparse/SuiteSparse-$portVersion.tar.gz" +CHECKSUM_SHA256="90e69713d8c454da5a95a839aea5d97d8d03d00cc1f667c4bdfca03f640f963d" +SOURCE_DIR="SuiteSparse" +PATCHES="suitesparse-$portVersion.patchset" + +ARCHITECTURES="!x86_gcc2 x86 x86_64" +SECONDARY_ARCHITECTURES="x86" + +libAMDVersion="2.4.6" +libAMDVersionCompat="$libAMDVersion compat >= ${libAMDVersion%%.*}" +libBTFVersion="1.2.6" +libBTFVersionCompat="$libBTFVersion compat >= ${libBTFVersion%%.*}" +libCAMDVersion="2.4.6" +libCAMDVersionCompat="$libCAMDVersion compat >= ${libCAMDVersion%%.*}" +libCCOLAMDVersion="2.9.6" +libCCOLAMDVersionCompat="$libCCOLAMDVersion compat >= ${libCCOLAMDVersion%%.*}" +libCHOLMODVersion="3.0.12" +libCHOLMODVersionCompat="$libCHOLMODVersion compat >= ${libCHOLMODVersion%%.*}" +libCOLAMDVersion="2.9.6" +libCOLAMDVersionCompat="$libCOLAMDVersion compat >= ${libCOLAMDVersion%%.*}" +libCXSPARSEVersion="3.2.0" +libCXSPARSEVersionCompat="$libCXSPARSEVersion compat >= ${libCXSPARSEVersion%%.*}" +libGRAPHBLASVersion="2.0.3" +libGRAPHBLASVersionCompat="$libGRAPHBLASVersion compat >= ${libGRAPHBLASVersion%%.*}" +libKLUVersion="1.3.8" +libKLUVersionCompat="$libKLUVersion compat >= ${libKLUVersion%%.*}" +libLDLVersion="2.2.6" +libLDLVersionCompat="$libLDLVersion compat >= ${libLDLVersion%%.*}" +libMETISVersion="$portVersion" +libMETISVersionCompat="$libMETISVersion compat >= ${libMETISVersion%%.*}" +libMONGOOSEVersion="2.0.2" +libMONGOOSEVersionCompat="$libMONGOOSEVersion compat >= ${libMONGOOSEVersion%%.*}" +libRBIOVersion="2.2.6" +libRBIOVersionCompat="$libRBIOVersion compat >= ${libRBIOVersion%%.*}" +libSPQRVersion="2.0.8" +libSPQRVersionCompat="$libSPQRVersion compat >= ${libSPQRVersion%%.*}" +libSUITESPARSE_CONFIGVersion="$portVersion" +libSUITESPARSE_CONFIGVersionCompat="$libSUITESPARSE_CONFIGVersion compat >= ${libSUITESPARSE_CONFIGVersion%%.*}" +libUMFPACKVersion="5.7.7" +libUMFPACKVersionCompat="$libUMFPACKVersion compat >= ${libUMFPACKVersion%%.*}" + +PROVIDES=" + suitesparse$secondaryArchSuffix = $portVersion + lib:libsuitesparseconfig$secondaryArchSuffix = $libSUITESPARSE_CONFIGVersionCompat + " +REQUIRES=" + haiku$secondaryArchSuffix + lib:libexecinfo$secondaryArchSuffix + " + +PROVIDES_devel=" + suitesparse${secondaryArchSuffix}_devel = $portVersion + devel:suitesparse$secondaryArchSuffix = $libSUITESPARSE_CONFIGVersion + devel:libamd$secondaryArchSuffix = $libAMDVersion + devel:libbtf$secondaryArchSuffix = $libBTFVersion + devel:libcamd$secondaryArchSuffix = $libCAMDVersion + devel:libccolamd$secondaryArchSuffix = $libCCOLAMDVersion + devel:libcholmod$secondaryArchSuffix = $libCHOLMODVersion + devel:libcolamd$secondaryArchSuffix = $libCOLAMDVersion + devel:libcxsparse$secondaryArchSuffix = $libCXSPARSEVersion + devel:libgraphblas$secondaryArchSuffix = $libGRAPHBLASVersion + devel:libklu$secondaryArchSuffix = $libKLUVersion + devel:libldl$secondaryArchSuffix = $libLDLVersion + devel:libmetis$secondaryArchSuffix = $libMETISVersion + devel:libmongoose$secondaryArchSuffix = $libMONGOOSEVersion + devel:librbio$secondaryArchSuffix = $libRBIOVersion + devel:libspqr$secondaryArchSuffix = $libSPQRVersion + devel:libsuitesparseconfig$secondaryArchSuffix = $libSUITESPARSE_CONFIGVersion + devel:libumfpack$secondaryArchSuffix = $libUMFPACKVersion + " +REQUIRES_devel=" + haiku${secondaryArchSuffix}_devel + suitesparse$secondaryArchSuffix == $portVersion base + devel:libexecinfo$secondaryArchSuffix + devel:libgfortran$secondaryArchSuffix + devel:liblapack$secondaryArchSuffix + devel:libopenblas$secondaryArchSuffix + devel:libtbb$secondaryArchSuffix + " + +#==================== +# AMD +SUMMARY_amd="$SUMMARY (AMD)" +DESCRIPTION_amd="$DESCRIPTION (AMD)" + +PROVIDES_amd=" + suitesparse${secondaryArchSuffix}_amd = $libAMDVersion + lib:libamd$secondaryArchSuffix = $libAMDVersionCompat + " +REQUIRES_amd=" + haiku$secondaryArchSuffix + suitesparse$secondaryArchSuffix == $portVersion base + lib:libexecinfo$secondaryArchSuffix + " +#==================== +# BTF +SUMMARY_btf="$SUMMARY (BTF)" +DESCRIPTION_btf="$DESCRIPTION (BTF)" + +PROVIDES_btf=" + suitesparse${secondaryArchSuffix}_btf = $libBTFVersion + lib:libbtf$secondaryArchSuffix = $libBTFVersionCompat + " +REQUIRES_btf=" + haiku$secondaryArchSuffix + suitesparse$secondaryArchSuffix == $portVersion base + lib:libexecinfo$secondaryArchSuffix + " +#==================== +# CAMD +SUMMARY_camd="$SUMMARY (CAMD)" +DESCRIPTION_camd="$DESCRIPTION (CAMD)" + +PROVIDES_camd=" + suitesparse${secondaryArchSuffix}_camd = $libCAMDVersion + lib:libcamd$secondaryArchSuffix = $libCAMDVersionCompat + " +REQUIRES_camd=" + haiku$secondaryArchSuffix + suitesparse$secondaryArchSuffix == $portVersion base + lib:libexecinfo$secondaryArchSuffix + " +#==================== +# CCOLAMD +SUMMARY_ccolamd="$SUMMARY (CCOLAMD)" +DESCRIPTION_ccolamd="$DESCRIPTION (CCOLAMD)" + +PROVIDES_ccolamd=" + suitesparse${secondaryArchSuffix}_colamd = $libCCOLAMDVersion + lib:libccolamd$secondaryArchSuffix = $libCCOLAMDVersionCompat + " +REQUIRES_ccolamd=" + haiku$secondaryArchSuffix + suitesparse$secondaryArchSuffix == $portVersion base + lib:libexecinfo$secondaryArchSuffix + " +#==================== +# CHOLMOD +SUMMARY_cholmod="$SUMMARY (CHOLMOD)" +DESCRIPTION_cholmod="$DESCRIPTION (CHOLMOD)" + +PROVIDES_cholmod=" + suitesparse${secondaryArchSuffix}_cholmod = $libCHOLMODVersion + lib:libcholmod$secondaryArchSuffix = $libCHOLMODVersionCompat + " +REQUIRES_cholmod=" + haiku$secondaryArchSuffix + suitesparse$secondaryArchSuffix == $portVersion base + lib:libamd$secondaryArchSuffix + lib:libcamd$secondaryArchSuffix + lib:libccolamd$secondaryArchSuffix + lib:libcolamd$secondaryArchSuffix + lib:libexecinfo$secondaryArchSuffix + lib:libgomp$secondaryArchSuffix + lib:liblapack$secondaryArchSuffix + lib:libmetis$secondaryArchSuffix + lib:libopenblas$secondaryArchSuffix + " +#==================== +# COLAMD +SUMMARY_colamd="$SUMMARY (COLAMD)" +DESCRIPTION_colamd="$DESCRIPTION (COLAMD)" + +PROVIDES_colamd=" + suitesparse${secondaryArchSuffix}_colamd = $libCOLAMDVersion + lib:libcolamd$secondaryArchSuffix = $libCOLAMDVersionCompat + " +REQUIRES_colamd=" + haiku$secondaryArchSuffix + suitesparse$secondaryArchSuffix == $portVersion base + lib:libexecinfo$secondaryArchSuffix + " +#==================== +# CXXSPARSE +SUMMARY_cxsparse="$SUMMARY (CXXSPARSE)" +DESCRIPTION_cxsparse="$DESCRIPTION (CXXSPARSE)" + +PROVIDES_cxsparse=" + suitesparse${secondaryArchSuffix}_cxsparse = $libCXSPARSEVersion + lib:libcxsparse$secondaryArchSuffix = $libCXSPARSEVersionCompat + " +REQUIRES_cxsparse=" + haiku$secondaryArchSuffix + suitesparse$secondaryArchSuffix == $portVersion base + lib:libexecinfo$secondaryArchSuffix + " +#==================== +# GRAPHBLAS +SUMMARY_graphblas="$SUMMARY (GRAPHBLAS)" +DESCRIPTION_graphblas="$DESCRIPTION (GRAPHBLAS)" + +PROVIDES_graphblas=" + suitesparse${secondaryArchSuffix}_graphblas = $libGRAPHBLASVersion + lib:libgraphblas$secondaryArchSuffix = $libGRAPHBLASVersionCompat + " +REQUIRES_graphblas=" + haiku$secondaryArchSuffix + suitesparse$secondaryArchSuffix == $portVersion base + lib:libexecinfo$secondaryArchSuffix + lib:libgomp$secondaryArchSuffix + " +#==================== +# KLU +SUMMARY_klu="$SUMMARY (KLU)" +DESCRIPTION_klu="$DESCRIPTION (KLU)" + +PROVIDES_klu=" + suitesparse${secondaryArchSuffix}_klu = $libKLUVersion + lib:libklu$secondaryArchSuffix = $libKLUVersionCompat + " +REQUIRES_klu=" + haiku$secondaryArchSuffix + suitesparse$secondaryArchSuffix == $portVersion base + lib:libamd$secondaryArchSuffix + lib:libbtf$secondaryArchSuffix + lib:libcolamd$secondaryArchSuffix + lib:libexecinfo$secondaryArchSuffix + " +#==================== +# LDL +SUMMARY_ldl="$SUMMARY (LDL)" +DESCRIPTION_ldl="$DESCRIPTION (LDL)" + +PROVIDES_ldl=" + suitesparse${secondaryArchSuffix}_ldl = $libLDLVersion + lib:libldl$secondaryArchSuffix = $libLDLVersionCompat + " +REQUIRES_ldl=" + haiku$secondaryArchSuffix + suitesparse$secondaryArchSuffix == $portVersion base + lib:libexecinfo$secondaryArchSuffix + " +#==================== +# METIS +SUMMARY_metis="$SUMMARY (METIS)" +DESCRIPTION_metis="$DESCRIPTION (METIS)" + +PROVIDES_metis=" + suitesparse${secondaryArchSuffix}_metis = $libMETISVersion + lib:libmetis$secondaryArchSuffix = $libMETISVersionCompat + " +REQUIRES_metis=" + haiku$secondaryArchSuffix + suitesparse$secondaryArchSuffix == $portVersion base + lib:libexecinfo$secondaryArchSuffix + " +#==================== +# MONGOOSE +SUMMARY_mongoose="$SUMMARY (MONGOOSE)" +DESCRIPTION_mongoose="$DESCRIPTION (MONGOOSE)" + +PROVIDES_mongoose=" + suitesparse${secondaryArchSuffix}_mongoose = $libMONGOOSEVersion + lib:libmongoose$secondaryArchSuffix = $libMONGOOSEVersionCompat + " +REQUIRES_mongoose=" + haiku$secondaryArchSuffix + suitesparse$secondaryArchSuffix == $portVersion base + lib:libexecinfo$secondaryArchSuffix + " +#==================== +# RBIO +SUMMARY_rbio="$SUMMARY (RBIO)" +DESCRIPTION_rbio="$DESCRIPTION (RBIO)" + +PROVIDES_rbio=" + suitesparse${secondaryArchSuffix}_rbio = $libRBIOVersion + lib:librbio$secondaryArchSuffix = $libRBIOVersionCompat + " +REQUIRES_rbio=" + haiku$secondaryArchSuffix + suitesparse$secondaryArchSuffix == $portVersion base + lib:libexecinfo$secondaryArchSuffix + " +#==================== +# SPQR +SUMMARY_spqr="$SUMMARY (SPQR)" +DESCRIPTION_spqr="$DESCRIPTION (SPQR)" + +PROVIDES_spqr=" + suitesparse${secondaryArchSuffix}_spqr = $libSPQRVersion + lib:libspqr$secondaryArchSuffix = $libSPQRVersionCompat + " +REQUIRES_spqr=" + haiku$secondaryArchSuffix + suitesparse$secondaryArchSuffix == $portVersion base + lib:libamd$secondaryArchSuffix + lib:libcolamd$secondaryArchSuffix + lib:libcholmod$secondaryArchSuffix + lib:libexecinfo$secondaryArchSuffix + lib:liblapack$secondaryArchSuffix + lib:libopenblas$secondaryArchSuffix + lib:libtbb$secondaryArchSuffix + " +#==================== +# UMFPACK +SUMMARY_umfpack="$SUMMARY (UMFPACK)" +DESCRIPTION_umfpack="$DESCRIPTION (UMFPACK)" + +PROVIDES_umfpack=" + suitesparse${secondaryArchSuffix}_umfpack = $libUMFPACKVersion + lib:libumfpack$secondaryArchSuffix = $libUMFPACKVersionCompat + " +REQUIRES_umfpack=" + haiku$secondaryArchSuffix + suitesparse$secondaryArchSuffix == $portVersion base + lib:libamd$secondaryArchSuffix + lib:libcholmod$secondaryArchSuffix + lib:libexecinfo$secondaryArchSuffix + lib:liblapack$secondaryArchSuffix + lib:libopenblas$secondaryArchSuffix + " +#==================== + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + devel:libexecinfo$secondaryArchSuffix + devel:libgfortran$secondaryArchSuffix + devel:liblapack$secondaryArchSuffix + devel:libopenblas$secondaryArchSuffix + devel:libtbb$secondaryArchSuffix + " +BUILD_PREREQUIRES=" + cmd:cmake + cmd:diff + cmd:gawk + cmd:gcc$secondaryArchSuffix + cmd:gfortran$secondaryArchSuffix + cmd:grep + cmd:ld$secondaryArchSuffix + cmd:make + cmd:perl + cmd:pkg_config$secondaryArchSuffix + cmd:python2 + " + +defineDebugInfoPackage suitesparse$secondaryArchSuffix \ + "$libDir"/libsuitesparseconfig.so.$libSUITESPARSE_CONFIGVersion \ + "$(getPackagePrefix amd)/$relativeLibDir"/libamd.so.$libAMDVersion \ + "$(getPackagePrefix btf)/$relativeLibDir"/libbtf.so.$libBTFVersion \ + "$(getPackagePrefix camd)/$relativeLibDir"/libcamd.so.$libCAMDVersion \ + "$(getPackagePrefix ccolamd)/$relativeLibDir"/libccolamd.so.$libCCOLAMDVersion \ + "$(getPackagePrefix cholmod)/$relativeLibDir"/libcholmod.so.$libCHOLMODVersion \ + "$(getPackagePrefix colamd)/$relativeLibDir"/libcolamd.so.$libCOLAMDVersion \ + "$(getPackagePrefix cxsparse)/$relativeLibDir"/libcxsparse.so.$libCXSPARSEVersion \ + "$(getPackagePrefix graphblas)/$relativeLibDir"/libgraphblas.so.$libGRAPHBLASVersion \ + "$(getPackagePrefix klu)/$relativeLibDir"/libklu.so.$libKLUVersion \ + "$(getPackagePrefix ldl)/$relativeLibDir"/libldl.so.$libLDLVersion \ + "$(getPackagePrefix metis)/$relativeLibDir"/libmetis.so \ + "$(getPackagePrefix mongoose)/$relativeLibDir"/libmongoose.so.$libMONGOOSEVersion \ + "$(getPackagePrefix rbio)/$relativeLibDir"/librbio.so.$libRBIOVersion \ + "$(getPackagePrefix spqr)/$relativeLibDir"/libspqr.so.$libSPQRVersion \ + "$(getPackagePrefix umfpack)/$relativeLibDir"/libumfpack.so.$libUMFPACKVersion + +BUILD() +{ + LIBRARY_PATH="$sourceDir/lib:$LIBRARY_PATH" \ + LDFLAGS="-lnetwork -lbsd -lexecinfo" CF="-D_BSD_SOURCE" \ + TBB="-ltbb" SPQR_CONFIG="-DHAVE_TBB" make library $jobArgs +# make TBB="-ltbb" $jobArgs # for building and running tests +} + +INSTALL() +{ + LIBRARY_PATH="$sourceDir/lib:$LIBRARY_PATH" \ + LDFLAGS="-lnetwork -lbsd -lexecinfo" CF="-D_BSD_SOURCE" \ + TBB="-ltbb" SPQR_CONFIG="-DHAVE_TBB" INSTALL="$prefix" \ + INSTALL_LIB="$libDir" INSTALL_INCLUDE="$includeDir" \ + INSTALL_DOC="$docDir" make install + + prepareInstalledDevelLibs libamd \ + libbtf \ + libcamd \ + libccolamd \ + libcholmod \ + libcolamd \ + libcxsparse \ + libgraphblas \ + libklu \ + libldl \ + libmetis \ + libmongoose \ + librbio \ + libspqr \ + libsuitesparseconfig \ + libumfpack + + fixPkgconfig + + mkdir -p $manDir $(dirname $includeDir) + mv $prefix/include $includeDir + rm -rf $prefix/share + + # AMD + packageEntries "amd" \ + "$libDir"/*libamd* + # BTF + packageEntries "btf" \ + "$libDir"/*btf* + # CAMD + packageEntries "camd" \ + "$libDir"/*libcamd* + # CCOLAMD + packageEntries "ccolamd" \ + "$libDir"/*ccolamd* + # CHOLMOD + packageEntries "cholmod" \ + "$libDir"/*cholmod* + # COLAMD + packageEntries "colamd" \ + "$libDir"/*colamd* + # CXSPARSE + packageEntries "cxsparse" \ + "$libDir"/*cxsparse* + # GRAPHBLAS + packageEntries "graphblas" \ + "$libDir"/*graphblas* + # KLU + packageEntries "klu" \ + "$libDir"/*klu* + # LDL + packageEntries "ldl" \ + "$libDir"/*ldl* + # METIS + packageEntries "metis" \ + "$libDir"/*metis* + # MONGOOSE + packageEntries "mongoose" \ + "$libDir"/*mongoose* + # RBIO + packageEntries "rbio" \ + "$libDir"/*rbio* + # SPQR + packageEntries "spqr" \ + "$libDir"/*spqr* + # UMFPACK + packageEntries "umfpack" \ + "$libDir"/*umfpack* + # DEVEL + packageEntries devel \ + $developDir +}