Commit Graph

50 Commits

Author SHA1 Message Date
Viktor Szakats b9a47e838a Secure URLs 2018-07-27 12:18:03 +10:00
Tony Theodore 3b2f763188 cblas lapack: fixup pkg-config calls
see: https://github.com/Reference-LAPACK/lapack/pull/119#issuecomment-374809776
2018-03-22 14:58:18 +11:00
Tony Theodore ccfc302d54 netlib pkgs: fix updates, share metadata, use pkg-config 2018-03-20 20:37:07 +11:00
Andy May ca338312b0 netlib blas, cblas and lapack 2018-03-20 20:37:07 +11:00
Tony Theodore 01e2a64d00 cross packages: replace dependency gcc with cc 2017-12-23 08:19:00 +11:00
Tony Theodore 0c0f60a580 blas etc.: disable reference packages 2017-11-21 12:10:35 +11:00
Viktor Szakats 18aad24c83 URL upgrades and fixes 2017-10-19 18:39:25 +00:00
Boris Nagaev e2fd9fe23a use cmake wrapper in all packages
Native binaries (libmysqlclient, vtk, vtk6) still build with `cmake`
instead of the cmake wrapper. Note that even in these cases MXE's cmake
is used (not system cmake), because $(PREFIX)/$(BUILD)/bin is added to
PATH by Makefile and MXE's cmake binary exists there.
2017-01-08 03:01:54 +01:00
Boris Nagaev 74163f1794 add _WEBSITE and _DESCR fields to core packages
See https://github.com/mxe/mxe/issues/1422

Automation (Python 2 code): https://gist.github.com/9f5c315e5d0cf113d41dc454b7a0eb41
2016-12-22 22:25:48 +01:00
Boris Nagaev 6adb5ade12 Copyright headers: point to LICENSE.md and shorten
The following script was applied:

    sed ':a;/part of MXE.$/{N;s/\n//;ba}' -i $(git grep -l 'part of MXE')

    sed 's/\(part of MXE\).*\(See index.html\)/\1. \2/' -i \
        $(git grep -l 'part of MXE.*See index.html')

    before='This file is part of MXE. See index.html for further information.'
    after='This file is part of MXE. See LICENSE.md for licensing information.'
    sed "s/$before/$after/" -i $(git grep -l 'part of MXE')

Then git grep 'index.html for further information' revealed two other files.
One of them was patched manually (patch.mk). Makefile has text
"See index.html for further information" unrelated to licensing.

See https://github.com/mxe/mxe/issues/1500#issuecomment-241340792
2016-08-27 12:31:29 +03:00
Boris Nagaev 17e40d3884 use $(TEST_FILE) instead of $(2).c and other
The following script was applied:

    set -xue

    find src/ plugins/ -name '*.mk' -type f > mks

    # special cases for test file:
    # ls -d src/*-test* | sed 's@-test.*@@' | sort | uniq --repeated
    sed 's@$(2).c@$(PWD)/src/$(PKG)-test.c@g' -i \
        src/{boost,freeimage,hdf5,lapack,sdl,sdl_image,sdl_sound}.mk
    sed 's@$(2).f@$(PWD)/src/$(PKG)-test.f@g' -i src/lapack.mk
    sed 's@$(PWD)/$(2).pro@$(PWD)/src/$(PKG)-test.pro@g' -i \
        src/qt.mk plugins/examples/custom-qt-min/overrides.mk
    sed 's@$(2)-CMakeLists.txt@$(PWD)/src/$(PKG)-test-CMakeLists.txt@g' \
        -i src/{sdl_image,sdl_sound}.mk

    # check
    for base in $(ls -d src/*-test* | sed 's@-test.*@@' | sort | uniq --repeated); do
        ! grep -q '$(2)' "${base}.mk"
    done

    # other $(2)
    sed 's@$(2).cpp@$(TEST_FILE)@g' -i $(cat mks)
    sed 's@$(2).cxx@$(TEST_FILE)@g' -i $(cat mks)
    sed 's@$(2).c@$(TEST_FILE)@g' -i $(cat mks)
    sed 's@$(2).ml@$(TEST_FILE)@g' -i $(cat mks)
    sed 's@$(2).f@$(TEST_FILE)@g' -i $(cat mks)

    # check
    ! grep '$(2)' $(cat mks)

See https://github.com/mxe/mxe/issues/1452
2016-07-30 22:38:45 +03:00
Tony Theodore 043e7aea85 blas, lapack: remove -fdefault-integer-8 FFLAGS (#1258)
* only required for octave build:
    - https://www.gnu.org/software/octave/doc/interpreter/Compiling-Octave-with-64_002dbit-Indexing.html
* closes #1247
2016-04-12 12:26:09 +10:00
Tony Theodore 9d7fa147e4 lapack: fix case change in 3.6.0 update
fixes #1114
2015-12-31 12:33:04 +11:00
Tony Theodore 5b78dfd1fc lapack: update 3.5.0 --> 3.6.0
tested on all four targets
2015-12-25 21:27:24 +11:00
Tony Theodore fc0ed34fb9 all packages: really use sha256 checksums 2015-09-23 18:32:58 +10:00
Tony Theodore a228c0488f all packages: switch to sha256 checksums
closes #871
2015-09-23 17:27:16 +10:00
Timothy Gu 49e4d58199 Fix lapack test
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2014-05-07 20:58:41 -07:00
Tony Theodore 97ed4bc4d4 package lapack: fix fortran flags on 64-bit builds 2014-03-10 13:35:18 +11:00
Tony Theodore ce55176f35 package lapack: fix checksum 2013-12-04 13:33:23 +11:00
Mark Brand 999e4e9944 package lapack: update changed checksum 2013-11-22 14:33:25 +01:00
Mark Brand 05973bda00 update package lapack 2013-11-17 15:03:39 +01:00
Tony Theodore d4fc118e1c package lapack: enable C interface and add cblas link test 2013-09-16 17:24:36 +10:00
Volker Grabsch e412eb642d Move package versions from index.html back into the src/*.mk files
Most of the automatic conversion was done using the following Python script:

import os
import re
pkgs = sorted(mkfile[:-len('.mk')] for mkfile in os.listdir('src') if mkfile.endswith('.mk'))
with open('index.html', 'rb') as f:
    index = f.read()
pkgs_index = re.findall('<td class="package">([^<]*)</td>', index)
assert pkgs_index == pkgs
versions = dict(re.findall('<td id="([^"]*)-version">([^<]*)</td>', index))
assert sorted(versions.keys()) == pkgs
for pkg in pkgs:
    version = versions[pkg]
    with open('src/' + pkg + '.mk', 'rb') as f:
        mk = f.read()
    checksumpos = mk.index('\n$(PKG)_CHECKSUM ')
    versionline = '\n$(PKG)_VERSION  := %(version)s' % {'version': version}
    newmk = mk[:checksumpos] + versionline + mk[checksumpos:]
    with open('src/' + pkg + '.mk', 'wb') as f:
        f.write(newmk)
2013-07-22 01:41:31 +02:00
Mark Brand b23e0c9a57 upgrade package lapack 2012-09-26 09:10:53 +02:00
Volker Grabsch 070e7a680d Revert "Move CMAKE_BUILD_TYPE, CMAKE_AR and CMAKE_RANLIB into toolchain file"
This reverts commit e57db6d8c9.

See http://lists.nongnu.org/archive/html/mingw-cross-env-list/2012-08/msg00028.html
2012-08-25 16:11:23 +02:00
Volker Grabsch e57db6d8c9 Move CMAKE_BUILD_TYPE, CMAKE_AR and CMAKE_RANLIB into toolchain file 2012-08-13 10:15:30 +02:00
Tony Theodore 4ed13a9f30 all packages: use $(WGET) portability variable 2012-05-16 17:49:40 +10:00
Tony Theodore ae7bd20d37 package lapack: use $(TARGET)-ranlib and add test program 2012-05-02 02:31:25 +10:00
Alois Schlögl ae7b6c23c1 package lapack: revert to v3.4.0 2012-05-01 22:54:50 +10:00
Tony Theodore 71172e4a15 package lapack: ignore version 3.4.1 2012-05-01 22:36:17 +10:00
Mark Brand 5702e7a485 update package lapack 2012-04-21 16:14:56 +02:00
Volker Grabsch 00f4690d3f Move full package names from src/*.mk into package list (index.html) 2012-03-29 21:41:44 +02:00
Volker Grabsch 7badad85c9 Move doc/index.html -> index.html 2012-03-29 12:14:15 +02:00
Volker Grabsch 7e6723adb5 Move $(PKG)_VERSION and $(PKG)_WEBSITE from src/*.mk into doc/index.html 2012-03-29 11:07:07 +02:00
Volker Grabsch defdff28f0 Rebrand to new project name MXE 2012-03-28 15:46:58 +02:00
Tony Theodore b3db813174 packages cgal, eigen, lapack: use CMAKE_TOOLCHAIN_FILE 2011-11-27 00:45:44 +11:00
Tony Theodore da65c67618 package lapack:portability fix for FreeBSD - add CMAKE_AR 2011-11-21 02:44:08 +11:00
Tony Theodore 3e6d827d17 package lapack:update checksum 2011-11-21 02:42:57 +11:00
Mark Brand 635a5e1345 package lapack: build with cmake 2011-11-15 00:57:57 +01:00
Mark Brand 40f7df69d3 update package lapack 2011-11-15 00:14:43 +01:00
Mark Brand c08179175a update package lapack 2011-04-19 09:22:29 +02:00
Volker Grabsch 0ca6392e68 improved download URLs of packages: blas cblas gcc-mpc lapack 2011-04-05 01:26:14 +02:00
Mark Brand 0079f0011a package lapack: fix update macro 2011-01-17 09:55:21 +01:00
Mark Brand 0d20234f54 remove $($PKG)_SUBDIR) from FILE and URL defintions
For now this means a bit of duplication, but if the remaining
references to SUBDIR can be dealt with, we should be able
to get rid of the SUBDIR defintion altogether.
2010-12-12 01:16:13 +01:00
Volker Grabsch a7525b5645 upgrade packages: atkmm gdal gdk-pixbuf glew glib gtk imagemagick lapack librsvg libvpx libxml2 ogg pixman vorbis x264 2010-11-28 19:07:21 +01:00
Volker Grabsch 44fb1f071d fix dummy permissions (664 -> 644) 2010-11-17 03:56:10 +01:00
Volker Grabsch 281f36290c fix build issues of packages: lapack suitesparse 2010-11-17 02:59:17 +01:00
Volker Grabsch a149a4a947 cleanup packages: blas cblas lapack metis suitesparse 2010-11-17 00:52:47 +01:00
Alois Schlögl 66de4ee9ec improvements for packages: cblas lapack suitesparse 2010-11-16 19:13:33 +01:00
Alois Schlögl 47ffebc2f2 new packages: blas cblas lapack 2010-11-16 19:10:10 +01:00