annotate src/llvm.mk @ 4618:de2eedecd6ba

update broken PKG_UPDATE rules, handle missing update rules * Makefile.in: add handling for packages with no update rule * src/gtk2.mk, src/gtk3.mk, src/libvpx.mk, src/taglib.mk, src/hunspell.mk, src/vala.mk : use github tags for version info * src/llvm.mk: add '?' to update url * src/openscenegraph.mk: update SED rule for version extraction * src/pthread-stubs.mk, src/qt5.mk, src/renderproto.mk, src/sm.mk, src/s2tc.mk, src/util-macros.mk: added dummy PKG_UPDATE rule * src/qscintilla.mk: change search name for version extraction * src/qtbase.mk: use short pkg version in update path * src/suitesparse.mk: update change in main url/version url * src/tre.mk: update download page link * src/vmime.mk: update download and update url * src/wget.mk, src/xapian-core.mk: update url, sed rule * src/wt.mk: update to use github download/update * src/src-msys-libcrypt.mk: update sed rule
author John Donoghue
date Fri, 09 Mar 2018 11:46:42 -0500
parents dc3eb553f5e9
children f6f934903cd2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 2329
diff changeset
1 # This file is part of MXE.
2353
99516e73b368 Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents: 2349
diff changeset
2 # See index.html for further information.
2126
18dc5e1dee6f new packages: libxml++ and llvm
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff changeset
3
18dc5e1dee6f new packages: libxml++ and llvm
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff changeset
4 PKG := llvm
2329
466e77a78672 Fix annoying whitespaces at EOL
Volker Grabsch <vog@notjusthosting.com>
parents: 2166
diff changeset
5 $(PKG)_IGNORE :=
4510
140689282d54 llvm: Update to version 5.0.
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
6 $(PKG)_VERSION := 5.0.0
140689282d54 llvm: Update to version 5.0.
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
7 $(PKG)_CHECKSUM := 7b0fd212ecc38461e392cbdcbe6a1d4944138a04
2163
48db4bc35a28 update package llvm
Tony Theodore <tonyt@logyst.com>
parents: 2129
diff changeset
8 $(PKG)_SUBDIR := llvm-$($(PKG)_VERSION).src
4510
140689282d54 llvm: Update to version 5.0.
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
9 $(PKG)_FILE := llvm-$($(PKG)_VERSION).src.tar.xz
140689282d54 llvm: Update to version 5.0.
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
10 $(PKG)_URL := http://releases.llvm.org/$($(PKG)_VERSION)/$($(PKG)_FILE)
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3031
diff changeset
11 $(PKG)_DEPS :=
2126
18dc5e1dee6f new packages: libxml++ and llvm
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff changeset
12
18dc5e1dee6f new packages: libxml++ and llvm
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff changeset
13 define $(PKG)_UPDATE
4618
de2eedecd6ba update broken PKG_UPDATE rules, handle missing update rules
John Donoghue
parents: 4601
diff changeset
14 wget -q -O- 'http://releases.llvm.org/download.html?' | \
2127
c249980b95df package llvm: add update script and ignore v2.9
Tony Theodore <tonyt@logyst.com>
parents: 2126
diff changeset
15 grep 'Download LLVM' | \
4543
7d1e45c2f175 update: more PKG_UPDATE updates, added update-octaveforge target
John D
parents: 4514
diff changeset
16 $(SED) -n 's,.*LLVM \([0-9][^<]*\).*,\1,p' | \
2127
c249980b95df package llvm: add update script and ignore v2.9
Tony Theodore <tonyt@logyst.com>
parents: 2126
diff changeset
17 head -1
2126
18dc5e1dee6f new packages: libxml++ and llvm
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff changeset
18 endef
18dc5e1dee6f new packages: libxml++ and llvm
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff changeset
19
4510
140689282d54 llvm: Update to version 5.0.
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
20 ifeq ($(MXE_NATIVE_BUILD),yes)
140689282d54 llvm: Update to version 5.0.
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
21 ifeq ($(MXE_SYSTEM),gnu-linux)
140689282d54 llvm: Update to version 5.0.
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
22 define $(PKG)_BUILD
140689282d54 llvm: Update to version 5.0.
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
23 mkdir '$(1)/.build' && cd '$(1)/.build' && cmake .. \
140689282d54 llvm: Update to version 5.0.
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
24 $($(PKG)_CMAKE_FLAGS) \
140689282d54 llvm: Update to version 5.0.
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
25 -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \
140689282d54 llvm: Update to version 5.0.
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
26 -DLLVM_BUILD_LLVM_DYLIB=On \
140689282d54 llvm: Update to version 5.0.
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
27 -DLLVM_LINK_LLVM_DYLIB=On \
140689282d54 llvm: Update to version 5.0.
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
28 -DLLVM_VERSION_SUFFIX= \
140689282d54 llvm: Update to version 5.0.
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
29 -DLLVM_TARGETS_TO_BUILD='X86' \
140689282d54 llvm: Update to version 5.0.
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
30 -DLLVM_BUILD_EXAMPLES=Off \
140689282d54 llvm: Update to version 5.0.
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
31 -DLLVM_INCLUDE_EXAMPLES=Off \
140689282d54 llvm: Update to version 5.0.
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
32 -DLLVM_BUILD_TESTS=Off \
140689282d54 llvm: Update to version 5.0.
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
33 -DLLVM_INCLUDE_TESTS=Off \
140689282d54 llvm: Update to version 5.0.
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
34 -DLLVM_ENABLE_BACKTRACES=Off
3247
2419325342a5 Update mingw native llvm for dynamic lib
John Donoghue <john.donoghue@ieee.org>
parents: 3239
diff changeset
35
4510
140689282d54 llvm: Update to version 5.0.
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
36 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)'
140689282d54 llvm: Update to version 5.0.
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
37 endef
140689282d54 llvm: Update to version 5.0.
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
38 else
4514
d73575e7de22 llvm: fail except for native linux builds.
John W. Eaton <jwe@octave.org>
parents: 4510
diff changeset
39 define $(PKG)_BUILD
d73575e7de22 llvm: fail except for native linux builds.
John W. Eaton <jwe@octave.org>
parents: 4510
diff changeset
40 echo "unsupported LLVM configuration" 1>&2
d73575e7de22 llvm: fail except for native linux builds.
John W. Eaton <jwe@octave.org>
parents: 4510
diff changeset
41 exit 1
d73575e7de22 llvm: fail except for native linux builds.
John W. Eaton <jwe@octave.org>
parents: 4510
diff changeset
42 endef
4510
140689282d54 llvm: Update to version 5.0.
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
43 endif
3030
0d67b4c363cd Changes to llvm to build under native mingw
John Donoghue <john.donoghue@ieee.org>
parents: 3014
diff changeset
44 else
4514
d73575e7de22 llvm: fail except for native linux builds.
John W. Eaton <jwe@octave.org>
parents: 4510
diff changeset
45 define $(PKG)_BUILD
d73575e7de22 llvm: fail except for native linux builds.
John W. Eaton <jwe@octave.org>
parents: 4510
diff changeset
46 echo "unsupported LLVM configuration" 1>&2
d73575e7de22 llvm: fail except for native linux builds.
John W. Eaton <jwe@octave.org>
parents: 4510
diff changeset
47 exit 1
d73575e7de22 llvm: fail except for native linux builds.
John W. Eaton <jwe@octave.org>
parents: 4510
diff changeset
48 endef
3030
0d67b4c363cd Changes to llvm to build under native mingw
John Donoghue <john.donoghue@ieee.org>
parents: 3014
diff changeset
49 endif