Mercurial > mxe-octave
annotate src/release-octave.mk @ 7207:9ed6500e56d3 default tip @
maint: Merge release to default.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Fri, 17 May 2024 20:16:41 +0200 |
parents | 13c33daacd58 |
children |
rev | line source |
---|---|
2939
30a5052213e6
octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1 # This file is part of MXE. |
30a5052213e6
octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
2 # See index.html for further information. |
30a5052213e6
octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
3 |
4748
a6b4355efbd6
new organization for release, stable, and default versions of Octave
John W. Eaton <jwe@octave.org>
parents:
4689
diff
changeset
|
4 ## This set of rules is intended for building the latest released |
a6b4355efbd6
new organization for release, stable, and default versions of Octave
John W. Eaton <jwe@octave.org>
parents:
4689
diff
changeset
|
5 ## version of Octave found on ftp.gnu.org using the current |
a6b4355efbd6
new organization for release, stable, and default versions of Octave
John W. Eaton <jwe@octave.org>
parents:
4689
diff
changeset
|
6 ## packages found in the mxe-octave archive. To reproduce the binary |
a6b4355efbd6
new organization for release, stable, and default versions of Octave
John W. Eaton <jwe@octave.org>
parents:
4689
diff
changeset
|
7 ## builds for Windows that are distributed on ftp.gnu.org, you must |
a6b4355efbd6
new organization for release, stable, and default versions of Octave
John W. Eaton <jwe@octave.org>
parents:
4689
diff
changeset
|
8 ## choose the revision of mxe-octave that matches the release you |
a6b4355efbd6
new organization for release, stable, and default versions of Octave
John W. Eaton <jwe@octave.org>
parents:
4689
diff
changeset
|
9 ## wish to reproduce. Those should be tagged in the mxe-octave archive |
4964
3ef2868263e4
update octave-release for 5.1.0
John W. Eaton <jwe@octave.org>
parents:
4800
diff
changeset
|
10 ## with tags like "octave-release-5.1.0". The options used to build are |
4748
a6b4355efbd6
new organization for release, stable, and default versions of Octave
John W. Eaton <jwe@octave.org>
parents:
4689
diff
changeset
|
11 ## |
a6b4355efbd6
new organization for release, stable, and default versions of Octave
John W. Eaton <jwe@octave.org>
parents:
4689
diff
changeset
|
12 ## --enable-octave=release |
a6b4355efbd6
new organization for release, stable, and default versions of Octave
John W. Eaton <jwe@octave.org>
parents:
4689
diff
changeset
|
13 ## --enable-binary-packages |
a6b4355efbd6
new organization for release, stable, and default versions of Octave
John W. Eaton <jwe@octave.org>
parents:
4689
diff
changeset
|
14 ## --enable-devel-tools |
6837
6adeb47401d6
Add qt6 usage to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
6819
diff
changeset
|
15 ## --enable-qt=5 |
4748
a6b4355efbd6
new organization for release, stable, and default versions of Octave
John W. Eaton <jwe@octave.org>
parents:
4689
diff
changeset
|
16 ## --disable-system-opengl |
a6b4355efbd6
new organization for release, stable, and default versions of Octave
John W. Eaton <jwe@octave.org>
parents:
4689
diff
changeset
|
17 ## |
a6b4355efbd6
new organization for release, stable, and default versions of Octave
John W. Eaton <jwe@octave.org>
parents:
4689
diff
changeset
|
18 ## and one of the following |
a6b4355efbd6
new organization for release, stable, and default versions of Octave
John W. Eaton <jwe@octave.org>
parents:
4689
diff
changeset
|
19 ## |
a6b4355efbd6
new organization for release, stable, and default versions of Octave
John W. Eaton <jwe@octave.org>
parents:
4689
diff
changeset
|
20 ## * 64-bit Windows build; 32-bit integers for Fortran |
a6b4355efbd6
new organization for release, stable, and default versions of Octave
John W. Eaton <jwe@octave.org>
parents:
4689
diff
changeset
|
21 ## (including BLAS and LAPACK libraries) which is the typical |
a6b4355efbd6
new organization for release, stable, and default versions of Octave
John W. Eaton <jwe@octave.org>
parents:
4689
diff
changeset
|
22 ## configuration for all Linux distributions: |
a6b4355efbd6
new organization for release, stable, and default versions of Octave
John W. Eaton <jwe@octave.org>
parents:
4689
diff
changeset
|
23 ## |
a6b4355efbd6
new organization for release, stable, and default versions of Octave
John W. Eaton <jwe@octave.org>
parents:
4689
diff
changeset
|
24 ## --enable-windows-64 --enable-64 --disable-fortran-int64 |
a6b4355efbd6
new organization for release, stable, and default versions of Octave
John W. Eaton <jwe@octave.org>
parents:
4689
diff
changeset
|
25 ## |
a6b4355efbd6
new organization for release, stable, and default versions of Octave
John W. Eaton <jwe@octave.org>
parents:
4689
diff
changeset
|
26 ## * 64-bit Windows build; 64-bit integers for Fortran |
a6b4355efbd6
new organization for release, stable, and default versions of Octave
John W. Eaton <jwe@octave.org>
parents:
4689
diff
changeset
|
27 ## (including BLAS and LAPACK libraries): |
a6b4355efbd6
new organization for release, stable, and default versions of Octave
John W. Eaton <jwe@octave.org>
parents:
4689
diff
changeset
|
28 ## |
a6b4355efbd6
new organization for release, stable, and default versions of Octave
John W. Eaton <jwe@octave.org>
parents:
4689
diff
changeset
|
29 ## --enable-windows-64 --enable-64 --enable-fortran-int64 |
a6b4355efbd6
new organization for release, stable, and default versions of Octave
John W. Eaton <jwe@octave.org>
parents:
4689
diff
changeset
|
30 ## |
a6b4355efbd6
new organization for release, stable, and default versions of Octave
John W. Eaton <jwe@octave.org>
parents:
4689
diff
changeset
|
31 ## * 32-bit Windows build: |
a6b4355efbd6
new organization for release, stable, and default versions of Octave
John W. Eaton <jwe@octave.org>
parents:
4689
diff
changeset
|
32 ## |
a6b4355efbd6
new organization for release, stable, and default versions of Octave
John W. Eaton <jwe@octave.org>
parents:
4689
diff
changeset
|
33 ## --disable-windows-64 --disable-64 --disable-fortran-int64 |
4540
2a8b5cf2085c
allow stable-octave to build from hg
John W. Eaton <jwe@octave.org>
parents:
4488
diff
changeset
|
34 |
4748
a6b4355efbd6
new organization for release, stable, and default versions of Octave
John W. Eaton <jwe@octave.org>
parents:
4689
diff
changeset
|
35 PKG := release-octave |
2939
30a5052213e6
octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
36 $(PKG)_IGNORE := |
7181
314276f00b9a
Update version numbers and build rules for Octave 9.1.90 release candidate.
John W. Eaton <jwe@octave.org>
parents:
7107
diff
changeset
|
37 $(PKG)_VERSION := 9.1.90 |
314276f00b9a
Update version numbers and build rules for Octave 9.1.90 release candidate.
John W. Eaton <jwe@octave.org>
parents:
7107
diff
changeset
|
38 $(PKG)_CHECKSUM := d78a51892d9e10c97a90e96af1da45804cbd98a5 |
2939
30a5052213e6
octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
39 $(PKG)_SUBDIR := octave-$($(PKG)_VERSION) |
4634
cf208c67ddfa
stable-octave.mk: Missing edits from previous change.
John W. Eaton <jwe@octave.org>
parents:
4633
diff
changeset
|
40 $(PKG)_FILE := octave-$($(PKG)_VERSION).tar.lz |
7191
13c33daacd58
release-octave: Download tarball of release candidate from alpha.gnu.org
Markus Mützel <markus.muetzel@gmx.de>
parents:
7181
diff
changeset
|
41 $(PKG)_URL := ftp://alpha.gnu.org/gnu/octave/$($(PKG)_FILE) |
3383
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
42 ifeq ($(USE_SYSTEM_FONTCONFIG),no) |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
43 $(PKG)_FONTCONFIG := fontconfig |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
44 endif |
6037
99125d7343bf
Update version numbers and build rules for Octave 7.0.90 release candidate.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5939
diff
changeset
|
45 $(PKG)_DEPS := blas arpack curl epstool fftw fltk $($(PKG)_FONTCONFIG) ghostscript gl2ps glpk gnuplot graphicsmagick hdf5 lapack libsndfile pcre portaudio pstoedit qhull qrupdate qscintilla rapidjson readline sundials-ida suitesparse texinfo zlib |
4245
e622765c49c7
Update stable-octave package for 4.2.0 release.
John W. Eaton <jwe@octave.org>
parents:
4189
diff
changeset
|
46 |
6837
6adeb47401d6
Add qt6 usage to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
6819
diff
changeset
|
47 ifeq ($(ENABLE_QT),4) |
6adeb47401d6
Add qt6 usage to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
6819
diff
changeset
|
48 $(PKG)_DEPS += qt |
6adeb47401d6
Add qt6 usage to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
6819
diff
changeset
|
49 endif |
6adeb47401d6
Add qt6 usage to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
6819
diff
changeset
|
50 ifeq ($(ENABLE_QT),5) |
4245
e622765c49c7
Update stable-octave package for 4.2.0 release.
John W. Eaton <jwe@octave.org>
parents:
4189
diff
changeset
|
51 $(PKG)_DEPS += qt5 |
6837
6adeb47401d6
Add qt6 usage to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
6819
diff
changeset
|
52 endif |
6adeb47401d6
Add qt6 usage to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
6819
diff
changeset
|
53 ifeq ($(ENABLE_QT),6) |
6adeb47401d6
Add qt6 usage to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
6819
diff
changeset
|
54 $(PKG)_DEPS += qt6 |
4245
e622765c49c7
Update stable-octave package for 4.2.0 release.
John W. Eaton <jwe@octave.org>
parents:
4189
diff
changeset
|
55 endif |
e622765c49c7
Update stable-octave package for 4.2.0 release.
John W. Eaton <jwe@octave.org>
parents:
4189
diff
changeset
|
56 |
4779
2612d718f3a5
Only conditionally depend on mesa.
Markus Mützel <markus.muetzel@gmx.de>
parents:
4748
diff
changeset
|
57 ifeq ($(USE_SYSTEM_OPENGL),no) |
2612d718f3a5
Only conditionally depend on mesa.
Markus Mützel <markus.muetzel@gmx.de>
parents:
4748
diff
changeset
|
58 $(PKG)_DEPS += mesa |
2612d718f3a5
Only conditionally depend on mesa.
Markus Mützel <markus.muetzel@gmx.de>
parents:
4748
diff
changeset
|
59 endif |
2612d718f3a5
Only conditionally depend on mesa.
Markus Mützel <markus.muetzel@gmx.de>
parents:
4748
diff
changeset
|
60 |
4800
ebb6dbbb8b3f
synchronize rules for release, stable, and default Octave builds
John W. Eaton <jwe@octave.org>
parents:
4789
diff
changeset
|
61 ifeq ($(MXE_WINDOWS_BUILD),yes) |
ebb6dbbb8b3f
synchronize rules for release, stable, and default Octave builds
John W. Eaton <jwe@octave.org>
parents:
4789
diff
changeset
|
62 $(PKG)_WITH_BLAS_CONFIGURE_OPTIONS := --with-blas="-lblas -lxerbla" |
ebb6dbbb8b3f
synchronize rules for release, stable, and default Octave builds
John W. Eaton <jwe@octave.org>
parents:
4789
diff
changeset
|
63 else |
ebb6dbbb8b3f
synchronize rules for release, stable, and default Octave builds
John W. Eaton <jwe@octave.org>
parents:
4789
diff
changeset
|
64 $(PKG)_WITH_BLAS_CONFIGURE_OPTIONS := --with-blas="-lblas" |
3827
02990526ae69
allow building of X11 libs to be disabled
John W. Eaton <jwe@octave.org>
parents:
3807
diff
changeset
|
65 ifeq ($(USE_SYSTEM_X11_LIBS),no) |
02990526ae69
allow building of X11 libs to be disabled
John W. Eaton <jwe@octave.org>
parents:
3807
diff
changeset
|
66 $(PKG)_DEPS += x11 xext |
02990526ae69
allow building of X11 libs to be disabled
John W. Eaton <jwe@octave.org>
parents:
3807
diff
changeset
|
67 endif |
3743
4f58c4b4dee0
build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
3692
diff
changeset
|
68 endif |
4633
7450dc38ccb3
stable-octave.mk: Update to work for current stable branch in hg repo.
John W. Eaton <jwe@octave.org>
parents:
4628
diff
changeset
|
69 |
4189 | 70 ifeq ($(MXE_SYSTEM),mingw) |
71 ifeq ($(USE_SYSTEM_GCC),no) | |
72 $(PKG)_DEPS += libgomp | |
73 endif | |
74 endif | |
4633
7450dc38ccb3
stable-octave.mk: Update to work for current stable branch in hg repo.
John W. Eaton <jwe@octave.org>
parents:
4628
diff
changeset
|
75 |
3383
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
76 ifeq ($(ENABLE_JIT),yes) |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
77 $(PKG)_DEPS += llvm |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
78 $(PKG)_ENABLE_JIT_CONFIGURE_OPTIONS := --enable-jit |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
79 else |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
80 $(PKG)_ENABLE_JIT_CONFIGURE_OPTIONS := --disable-jit |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
81 endif |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
82 |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
83 ifeq ($(ENABLE_JAVA),no) |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
84 $(PKG)_ENABLE_JAVA_CONFIGURE_OPTIONS := --disable-java |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
85 else |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
86 ifeq ($(MXE_SYSTEM),mingw) |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
87 ifeq ($(MXE_NATIVE_BUILD),no) |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
88 $(PKG)_ENABLE_JAVA_CONFIGURE_OPTIONS := \ |
3527
b111822b0bf0
stable-octave.mk, octave.mk: Set java include dir, not home dir.
John W. Eaton <jwe@octave.org>
parents:
3519
diff
changeset
|
89 --with-java-includedir="$(HOST_INCDIR)/java" |
3383
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
90 endif |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
91 endif |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
92 endif |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
93 |
3849
e50c777c9a97
explicitly set MOC, UIC, RCC, and LRELEASE for Octave configure commands
John W. Eaton <jwe@octave.org>
parents:
3827
diff
changeset
|
94 ## If we allow the system Qt libraries to be used, then these |
e50c777c9a97
explicitly set MOC, UIC, RCC, and LRELEASE for Octave configure commands
John W. Eaton <jwe@octave.org>
parents:
3827
diff
changeset
|
95 ## won't make sense. |
e50c777c9a97
explicitly set MOC, UIC, RCC, and LRELEASE for Octave configure commands
John W. Eaton <jwe@octave.org>
parents:
3827
diff
changeset
|
96 $(PKG)_QT_CONFIGURE_OPTIONS := \ |
4633
7450dc38ccb3
stable-octave.mk: Update to work for current stable branch in hg repo.
John W. Eaton <jwe@octave.org>
parents:
4628
diff
changeset
|
97 MOC_QTVER=$(MXE_MOC) \ |
7450dc38ccb3
stable-octave.mk: Update to work for current stable branch in hg repo.
John W. Eaton <jwe@octave.org>
parents:
4628
diff
changeset
|
98 UIC_QTVER=$(MXE_UIC) \ |
7450dc38ccb3
stable-octave.mk: Update to work for current stable branch in hg repo.
John W. Eaton <jwe@octave.org>
parents:
4628
diff
changeset
|
99 RCC_QTVER=$(MXE_RCC) \ |
7450dc38ccb3
stable-octave.mk: Update to work for current stable branch in hg repo.
John W. Eaton <jwe@octave.org>
parents:
4628
diff
changeset
|
100 LRELEASE_QTVER=$(MXE_LRELEASE) |
3849
e50c777c9a97
explicitly set MOC, UIC, RCC, and LRELEASE for Octave configure commands
John W. Eaton <jwe@octave.org>
parents:
3827
diff
changeset
|
101 |
6837
6adeb47401d6
Add qt6 usage to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
6819
diff
changeset
|
102 ifeq ($(ENABLE_QT),4) |
6adeb47401d6
Add qt6 usage to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
6819
diff
changeset
|
103 $(PKG)_PKG_CONFIG_PATH := "$(HOST_LIBDIR)/pkgconfig" |
6adeb47401d6
Add qt6 usage to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
6819
diff
changeset
|
104 $(PKG)_QTDIR := $(HOST_PREFIX) |
6adeb47401d6
Add qt6 usage to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
6819
diff
changeset
|
105 $(PKG)_QT_CONFIGURE_OPTIONS += octave_cv_lib_qscintilla="-lqscintilla2_qt4" |
6adeb47401d6
Add qt6 usage to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
6819
diff
changeset
|
106 endif |
6adeb47401d6
Add qt6 usage to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
6819
diff
changeset
|
107 ifeq ($(ENABLE_QT),5) |
4245
e622765c49c7
Update stable-octave package for 4.2.0 release.
John W. Eaton <jwe@octave.org>
parents:
4189
diff
changeset
|
108 #$(PKG)_PKG_CONFIG_PATH := "$(HOST_LIBDIR)/pkgconfig" |
e622765c49c7
Update stable-octave package for 4.2.0 release.
John W. Eaton <jwe@octave.org>
parents:
4189
diff
changeset
|
109 $(PKG)_PKG_CONFIG_PATH := "$(HOST_PREFIX)/qt5/lib/pkgconfig:$(HOST_LIBDIR)/pkgconfig" |
e622765c49c7
Update stable-octave package for 4.2.0 release.
John W. Eaton <jwe@octave.org>
parents:
4189
diff
changeset
|
110 $(PKG)_QTDIR := $(HOST_PREFIX)/qt5 |
4633
7450dc38ccb3
stable-octave.mk: Update to work for current stable branch in hg repo.
John W. Eaton <jwe@octave.org>
parents:
4628
diff
changeset
|
111 $(PKG)_QT_CONFIGURE_OPTIONS += octave_cv_lib_qscintilla="-lqscintilla2_qt5" |
4245
e622765c49c7
Update stable-octave package for 4.2.0 release.
John W. Eaton <jwe@octave.org>
parents:
4189
diff
changeset
|
112 endif |
6837
6adeb47401d6
Add qt6 usage to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
6819
diff
changeset
|
113 ifeq ($(ENABLE_QT),6) |
6adeb47401d6
Add qt6 usage to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
6819
diff
changeset
|
114 #$(PKG)_PKG_CONFIG_PATH := "$(HOST_LIBDIR)/pkgconfig" |
6adeb47401d6
Add qt6 usage to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
6819
diff
changeset
|
115 $(PKG)_PKG_CONFIG_PATH := "$(HOST_PREFIX)/qt6/lib/pkgconfig:$(HOST_LIBDIR)/pkgconfig" |
6adeb47401d6
Add qt6 usage to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
6819
diff
changeset
|
116 $(PKG)_QTDIR := $(HOST_PREFIX)/qt6 |
6adeb47401d6
Add qt6 usage to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
6819
diff
changeset
|
117 $(PKG)_QT_CONFIGURE_OPTIONS += octave_cv_lib_qscintilla="-lqscintilla2_qt6" |
6adeb47401d6
Add qt6 usage to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
6819
diff
changeset
|
118 endif |
4633
7450dc38ccb3
stable-octave.mk: Update to work for current stable branch in hg repo.
John W. Eaton <jwe@octave.org>
parents:
4628
diff
changeset
|
119 |
3497
ddaf87b79532
pass --disable-docs to Octave configure script unless ENABLE_DOCS == yes
John W. Eaton <jwe@octave.org>
parents:
3480
diff
changeset
|
120 ifneq ($(ENABLE_DOCS),yes) |
ddaf87b79532
pass --disable-docs to Octave configure script unless ENABLE_DOCS == yes
John W. Eaton <jwe@octave.org>
parents:
3480
diff
changeset
|
121 $(PKG)_ENABLE_DOCS_CONFIGURE_OPTIONS := --disable-docs |
3383
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
122 endif |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
123 |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
124 ifeq ($(MXE_NATIVE_BUILD),yes) |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
125 $(PKG)_CONFIGURE_ENV := LD_LIBRARY_PATH=$(LD_LIBRARY_PATH) |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
126 ifeq ($(ENABLE_64),yes) |
4633
7450dc38ccb3
stable-octave.mk: Update to work for current stable branch in hg repo.
John W. Eaton <jwe@octave.org>
parents:
4628
diff
changeset
|
127 $(PKG)_ENABLE_64_CONFIGURE_OPTIONS := --enable-64 |
7450dc38ccb3
stable-octave.mk: Update to work for current stable branch in hg repo.
John W. Eaton <jwe@octave.org>
parents:
4628
diff
changeset
|
128 else |
7450dc38ccb3
stable-octave.mk: Update to work for current stable branch in hg repo.
John W. Eaton <jwe@octave.org>
parents:
4628
diff
changeset
|
129 $(PKG)_ENABLE_64_CONFIGURE_OPTIONS := --disable-64 |
3383
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
130 endif |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
131 else |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
132 ifeq ($(MXE_SYSTEM),mingw) |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
133 $(PKG)_CROSS_CONFIG_OPTIONS := \ |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
134 FLTK_CONFIG='$(BUILD_TOOLS_PREFIX)/bin/$(MXE_TOOL_PREFIX)fltk-config' \ |
4407
e9b032b9340a
octave: cross-compile gnulib time functions correctly (bug #51351)
Mike Miller <mtmiller@octave.org>
parents:
4365
diff
changeset
|
135 gl_cv_func_gettimeofday_clobber=no \ |
e9b032b9340a
octave: cross-compile gnulib time functions correctly (bug #51351)
Mike Miller <mtmiller@octave.org>
parents:
4365
diff
changeset
|
136 gl_cv_func_tzset_clobber=no |
3383
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
137 ifeq ($(ENABLE_64),yes) |
4633
7450dc38ccb3
stable-octave.mk: Update to work for current stable branch in hg repo.
John W. Eaton <jwe@octave.org>
parents:
4628
diff
changeset
|
138 $(PKG)_ENABLE_64_CONFIGURE_OPTIONS := --enable-64 |
7450dc38ccb3
stable-octave.mk: Update to work for current stable branch in hg repo.
John W. Eaton <jwe@octave.org>
parents:
4628
diff
changeset
|
139 else |
7450dc38ccb3
stable-octave.mk: Update to work for current stable branch in hg repo.
John W. Eaton <jwe@octave.org>
parents:
4628
diff
changeset
|
140 $(PKG)_ENABLE_64_CONFIGURE_OPTIONS := --disable-64 |
3383
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
141 endif |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
142 endif |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
143 endif |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
144 |
4633
7450dc38ccb3
stable-octave.mk: Update to work for current stable branch in hg repo.
John W. Eaton <jwe@octave.org>
parents:
4628
diff
changeset
|
145 ifeq ($(ENABLE_FORTRAN_INT64),yes) |
6611
9a732fbe84e0
Update version numbers and build rules for Octave 8.0.90 release candidate.
John W. Eaton <jwe@octave.org>
parents:
6498
diff
changeset
|
146 $(PKG)_ENABLE_FORTRAN_INT64_CONFIGURE_OPTIONS := F77_INTEGER_8_FLAG=-fdefault-integer-8 ax_blas_f77_func_ok=yes ax_cv_blas_integer_size=8 octave_cv_sizeof_fortran_integer=8 |
4633
7450dc38ccb3
stable-octave.mk: Update to work for current stable branch in hg repo.
John W. Eaton <jwe@octave.org>
parents:
4628
diff
changeset
|
147 else |
6611
9a732fbe84e0
Update version numbers and build rules for Octave 8.0.90 release candidate.
John W. Eaton <jwe@octave.org>
parents:
6498
diff
changeset
|
148 $(PKG)_ENABLE_FORTRAN_INT64_CONFIGURE_OPTIONS := ax_blas_f77_func_ok=yes ax_cv_blas_integer_size=4 octave_cv_sizeof_fortran_integer=4 |
4633
7450dc38ccb3
stable-octave.mk: Update to work for current stable branch in hg repo.
John W. Eaton <jwe@octave.org>
parents:
4628
diff
changeset
|
149 endif |
7450dc38ccb3
stable-octave.mk: Update to work for current stable branch in hg repo.
John W. Eaton <jwe@octave.org>
parents:
4628
diff
changeset
|
150 |
6037
99125d7343bf
Update version numbers and build rules for Octave 7.0.90 release candidate.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5939
diff
changeset
|
151 ifeq ($(MXE_SYSTEM),mingw) |
99125d7343bf
Update version numbers and build rules for Octave 7.0.90 release candidate.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5939
diff
changeset
|
152 # This is very similar to CONFIGURE_CPPFLAGS and CONFIGURE_LDFLAGS but with |
99125d7343bf
Update version numbers and build rules for Octave 7.0.90 release candidate.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5939
diff
changeset
|
153 # double quoted paths. |
99125d7343bf
Update version numbers and build rules for Octave 7.0.90 release candidate.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5939
diff
changeset
|
154 $(PKG)_CONFIGURE_CPPFLAGS := CPPFLAGS='-I"$(HOST_PREFIX)/include"' |
99125d7343bf
Update version numbers and build rules for Octave 7.0.90 release candidate.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5939
diff
changeset
|
155 ifeq ($(MXE_USE_LIB64_DIRECTORY),yes) |
99125d7343bf
Update version numbers and build rules for Octave 7.0.90 release candidate.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5939
diff
changeset
|
156 $(PKG)_CONFIGURE_LDFLAGS := LDFLAGS='-L"$(HOST_PREFIX)/lib" -L"$(HOST_PREFIX)/lib64"' |
99125d7343bf
Update version numbers and build rules for Octave 7.0.90 release candidate.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5939
diff
changeset
|
157 else |
99125d7343bf
Update version numbers and build rules for Octave 7.0.90 release candidate.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5939
diff
changeset
|
158 $(PKG)_CONFIGURE_LDFLAGS := LDFLAGS='-L"$(HOST_PREFIX)/lib"' |
99125d7343bf
Update version numbers and build rules for Octave 7.0.90 release candidate.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5939
diff
changeset
|
159 endif |
99125d7343bf
Update version numbers and build rules for Octave 7.0.90 release candidate.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5939
diff
changeset
|
160 else |
99125d7343bf
Update version numbers and build rules for Octave 7.0.90 release candidate.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5939
diff
changeset
|
161 $(PKG)_CONFIGURE_CPPFLAGS := $(CONFIGURE_CPPFLAGS) |
99125d7343bf
Update version numbers and build rules for Octave 7.0.90 release candidate.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5939
diff
changeset
|
162 $(PKG)_CONFIGURE_LDFLAGS := $(CONFIGURE_LDFLAGS) |
99125d7343bf
Update version numbers and build rules for Octave 7.0.90 release candidate.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5939
diff
changeset
|
163 endif |
99125d7343bf
Update version numbers and build rules for Octave 7.0.90 release candidate.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5939
diff
changeset
|
164 |
99125d7343bf
Update version numbers and build rules for Octave 7.0.90 release candidate.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5939
diff
changeset
|
165 |
3383
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
166 ifeq ($(MXE_SYSTEM),msvc) |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
167 $(PKG)_PREFIX := '$(HOST_PREFIX)/local/$($(PKG)_SUBDIR)' |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
168 # - Enable atomic refcount (required for QtHandles) |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
169 # - Skip configure test for pow and sqrt, MSVC fails to compile them |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
170 # because it uses intrinsics (with -O2 flag) and bump on the fake |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
171 # "char FUNC()" forward declaration. |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
172 # - Override CFLAGS and CXXFLAGS to disable some warnings. |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
173 $(PKG)_EXTRA_CONFIGURE_OPTIONS := \ |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
174 --enable-atomic-refcount \ |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
175 ac_cv_func_pow=yes ac_cv_func_sqrt=yes \ |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
176 CFLAGS='-O2 -wd4244 -wd4003 -wd4005 -wd4068' \ |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
177 CXXFLAGS='-O2 -wd4244 -wd4003 -wd4005 -wd4068' |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
178 else |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
179 $(PKG)_PREFIX := '$(HOST_PREFIX)' |
6037
99125d7343bf
Update version numbers and build rules for Octave 7.0.90 release candidate.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5939
diff
changeset
|
180 ifeq ($(MXE_SYSTEM),mingw) |
99125d7343bf
Update version numbers and build rules for Octave 7.0.90 release candidate.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5939
diff
changeset
|
181 $(PKG)_EXTRA_CONFIGURE_OPTIONS := \ |
99125d7343bf
Update version numbers and build rules for Octave 7.0.90 release candidate.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5939
diff
changeset
|
182 LDFLAGS='-Wl,-rpath-link,"$(HOST_LIBDIR)" -L"$(HOST_LIBDIR)" -L"$($(PKG)_QTDIR)/lib"' |
99125d7343bf
Update version numbers and build rules for Octave 7.0.90 release candidate.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5939
diff
changeset
|
183 else |
99125d7343bf
Update version numbers and build rules for Octave 7.0.90 release candidate.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5939
diff
changeset
|
184 $(PKG)_EXTRA_CONFIGURE_OPTIONS := \ |
99125d7343bf
Update version numbers and build rules for Octave 7.0.90 release candidate.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5939
diff
changeset
|
185 LDFLAGS='-Wl,-rpath-link,$(HOST_LIBDIR) -L$(HOST_LIBDIR) -L$($(PKG)_QTDIR)/lib' |
99125d7343bf
Update version numbers and build rules for Octave 7.0.90 release candidate.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5939
diff
changeset
|
186 endif |
3383
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
187 endif |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
188 |
3646
f38e710f1d95
octave: add --no-x flag when compiling for mingw
John Donoghue <john.donoghue@ieee.org>
parents:
3643
diff
changeset
|
189 ifeq ($(MXE_SYSTEM),mingw) |
4800
ebb6dbbb8b3f
synchronize rules for release, stable, and default Octave builds
John W. Eaton <jwe@octave.org>
parents:
4789
diff
changeset
|
190 $(PKG)_EXTRA_CONFIGURE_OPTIONS += --with-x=no |
3646
f38e710f1d95
octave: add --no-x flag when compiling for mingw
John Donoghue <john.donoghue@ieee.org>
parents:
3643
diff
changeset
|
191 endif |
f38e710f1d95
octave: add --no-x flag when compiling for mingw
John Donoghue <john.donoghue@ieee.org>
parents:
3643
diff
changeset
|
192 |
4245
e622765c49c7
Update stable-octave package for 4.2.0 release.
John W. Eaton <jwe@octave.org>
parents:
4189
diff
changeset
|
193 ifeq ($(MXE_NATIVE_MINGW_BUILD),yes) |
e622765c49c7
Update stable-octave package for 4.2.0 release.
John W. Eaton <jwe@octave.org>
parents:
4189
diff
changeset
|
194 $(PKG)_EXTRA_CONFIGURE_OPTIONS += ac_cv_search_tputs=-ltermcap |
e622765c49c7
Update stable-octave package for 4.2.0 release.
John W. Eaton <jwe@octave.org>
parents:
4189
diff
changeset
|
195 endif |
e622765c49c7
Update stable-octave package for 4.2.0 release.
John W. Eaton <jwe@octave.org>
parents:
4189
diff
changeset
|
196 |
3951
1cab2860069e
stable-octave: update to 4.0.0
John W. Eaton <jwe@octave.org>
parents:
3851
diff
changeset
|
197 # if want binary packages and are cross compiling, then we need cross tools enabled |
1cab2860069e
stable-octave: update to 4.0.0
John W. Eaton <jwe@octave.org>
parents:
3851
diff
changeset
|
198 ifeq ($(ENABLE_BINARY_PACKAGES),yes) |
1cab2860069e
stable-octave: update to 4.0.0
John W. Eaton <jwe@octave.org>
parents:
3851
diff
changeset
|
199 ifeq ($(MXE_NATIVE_BUILD),no) |
1cab2860069e
stable-octave: update to 4.0.0
John W. Eaton <jwe@octave.org>
parents:
3851
diff
changeset
|
200 $(PKG)_EXTRA_CONFIGURE_OPTIONS += --enable-cross-tools |
1cab2860069e
stable-octave: update to 4.0.0
John W. Eaton <jwe@octave.org>
parents:
3851
diff
changeset
|
201 endif |
1cab2860069e
stable-octave: update to 4.0.0
John W. Eaton <jwe@octave.org>
parents:
3851
diff
changeset
|
202 endif |
1cab2860069e
stable-octave: update to 4.0.0
John W. Eaton <jwe@octave.org>
parents:
3851
diff
changeset
|
203 |
2939
30a5052213e6
octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
204 define $(PKG)_UPDATE |
30a5052213e6
octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
205 echo 'Warning: Updates are temporarily disabled for package octave.' >&2; |
30a5052213e6
octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
206 echo $($(PKG)_VERSION) |
30a5052213e6
octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
207 endef |
30a5052213e6
octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
208 |
30a5052213e6
octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
209 define $(PKG)_BUILD |
3383
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
210 # jni install |
3527
b111822b0bf0
stable-octave.mk, octave.mk: Set java include dir, not home dir.
John W. Eaton <jwe@octave.org>
parents:
3519
diff
changeset
|
211 if [ "$(MXE_SYSTEM)" == "mingw" ] \ |
b111822b0bf0
stable-octave.mk, octave.mk: Set java include dir, not home dir.
John W. Eaton <jwe@octave.org>
parents:
3519
diff
changeset
|
212 && [ "$(MXE_NATIVE_BUILD)" == "no" ] \ |
b111822b0bf0
stable-octave.mk, octave.mk: Set java include dir, not home dir.
John W. Eaton <jwe@octave.org>
parents:
3519
diff
changeset
|
213 && [ "$(ENABLE_JAVA)" == "yes" ]; then \ |
3519
de728273f855
update stable-octave package for 3.8.1-rc1
John W. Eaton <jwe@octave.org>
parents:
3516
diff
changeset
|
214 if [ ! -f $(HOST_INCDIR)/java/jni.h ]; then \ |
3527
b111822b0bf0
stable-octave.mk, octave.mk: Set java include dir, not home dir.
John W. Eaton <jwe@octave.org>
parents:
3519
diff
changeset
|
215 mkdir -p '$(HOST_INCDIR)/java'; \ |
5897
8c1cad878da2
Download Java headers from GitHub.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5800
diff
changeset
|
216 $(WGET) -N https://raw.github.com/openjdk/jdk/7b2e99178f7cf41ecd86b2ccfba38ea653e815e7/jdk/src/share/javavm/export/jni.h \ |
3527
b111822b0bf0
stable-octave.mk, octave.mk: Set java include dir, not home dir.
John W. Eaton <jwe@octave.org>
parents:
3519
diff
changeset
|
217 -O $(HOST_INCDIR)/java/jni.h; \ |
3516
3b5b776331f1
Only download java .h files if not already available
John Donoghue <john.donoghue@ieee.org>
parents:
3498
diff
changeset
|
218 fi; \ |
3519
de728273f855
update stable-octave package for 3.8.1-rc1
John W. Eaton <jwe@octave.org>
parents:
3516
diff
changeset
|
219 if [ ! -f $(HOST_INCDIR)/java/win32/jni_md.h ]; then \ |
3527
b111822b0bf0
stable-octave.mk, octave.mk: Set java include dir, not home dir.
John W. Eaton <jwe@octave.org>
parents:
3519
diff
changeset
|
220 mkdir -p '$(HOST_INCDIR)/java/win32'; \ |
5897
8c1cad878da2
Download Java headers from GitHub.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5800
diff
changeset
|
221 $(WGET) -N https://raw.github.com/openjdk/jdk/7b2e99178f7cf41ecd86b2ccfba38ea653e815e7/jdk/src/windows/javavm/export/jni_md.h \ |
3527
b111822b0bf0
stable-octave.mk, octave.mk: Set java include dir, not home dir.
John W. Eaton <jwe@octave.org>
parents:
3519
diff
changeset
|
222 -O $(HOST_INCDIR)/java/win32/jni_md.h; \ |
3516
3b5b776331f1
Only download java .h files if not already available
John Donoghue <john.donoghue@ieee.org>
parents:
3498
diff
changeset
|
223 fi; \ |
3383
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
224 fi |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
225 |
2939
30a5052213e6
octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
226 mkdir '$(1)/.build' |
3383
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
227 cd '$(1)/.build' && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \ |
6037
99125d7343bf
Update version numbers and build rules for Octave 7.0.90 release candidate.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5939
diff
changeset
|
228 $($(PKG)_CONFIGURE_CPPFLAGS) \ |
99125d7343bf
Update version numbers and build rules for Octave 7.0.90 release candidate.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5939
diff
changeset
|
229 $($(PKG)_CONFIGURE_LDFLAGS) \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
230 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
3383
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
231 --prefix='$($(PKG)_PREFIX)' \ |
3807
c6dd0518f31b
use --disable-silent-rules for Octave builds
John W. Eaton <jwe@octave.org>
parents:
3791
diff
changeset
|
232 --disable-silent-rules \ |
3951
1cab2860069e
stable-octave: update to 4.0.0
John W. Eaton <jwe@octave.org>
parents:
3851
diff
changeset
|
233 --enable-install-build-logs \ |
5750
04228fb2b15a
Octave: enable "relocate-all" (bug #60413)
Markus Mützel <markus.muetzel@gmx.de>
parents:
5680
diff
changeset
|
234 --enable-relocate-all \ |
3383
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
235 $($(PKG)_CROSS_CONFIG_OPTIONS) \ |
4800
ebb6dbbb8b3f
synchronize rules for release, stable, and default Octave builds
John W. Eaton <jwe@octave.org>
parents:
4789
diff
changeset
|
236 $($(PKG)_WITH_BLAS_CONFIGURE_OPTIONS) \ |
3383
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
237 $($(PKG)_ENABLE_64_CONFIGURE_OPTIONS) \ |
4633
7450dc38ccb3
stable-octave.mk: Update to work for current stable branch in hg repo.
John W. Eaton <jwe@octave.org>
parents:
4628
diff
changeset
|
238 $($(PKG)_ENABLE_FORTRAN_INT64_CONFIGURE_OPTIONS) \ |
3383
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
239 $($(PKG)_ENABLE_JAVA_CONFIGURE_OPTIONS) \ |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
240 $($(PKG)_ENABLE_JIT_CONFIGURE_OPTIONS) \ |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
241 $($(PKG)_ENABLE_DOCS_CONFIGURE_OPTIONS) \ |
3849
e50c777c9a97
explicitly set MOC, UIC, RCC, and LRELEASE for Octave configure commands
John W. Eaton <jwe@octave.org>
parents:
3827
diff
changeset
|
242 $($(PKG)_QT_CONFIGURE_OPTIONS) \ |
3383
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
243 $($(PKG)_EXTRA_CONFIGURE_OPTIONS) \ |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
244 PKG_CONFIG='$(MXE_PKG_CONFIG)' \ |
4245
e622765c49c7
Update stable-octave package for 4.2.0 release.
John W. Eaton <jwe@octave.org>
parents:
4189
diff
changeset
|
245 PKG_CONFIG_PATH=$($(PKG)_PKG_CONFIG_PATH) \ |
3383
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
246 && $(CONFIGURE_POST_HOOK) |
2939
30a5052213e6
octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
247 |
4633
7450dc38ccb3
stable-octave.mk: Update to work for current stable branch in hg repo.
John W. Eaton <jwe@octave.org>
parents:
4628
diff
changeset
|
248 $(MAKE) -C '$(1)/.build/libgnu' |
7450dc38ccb3
stable-octave.mk: Update to work for current stable branch in hg repo.
John W. Eaton <jwe@octave.org>
parents:
4628
diff
changeset
|
249 |
3383
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
250 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)' |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
251 |
3423
c8e055d83b9f
Set start directory to user home (Bug #41220)
John D <john.donoghue@ieee.org>
parents:
3417
diff
changeset
|
252 if [ "x$(MXE_SYSTEM)" == "xmingw" ]; then \ |
4800
ebb6dbbb8b3f
synchronize rules for release, stable, and default Octave builds
John W. Eaton <jwe@octave.org>
parents:
4789
diff
changeset
|
253 $(INSTALL) '$(3)/$(HOST_BINDIR)/libxerbla.dll' '$(3)$(HOST_BINDIR)/libxerbla-octave.dll'; \ |
3423
c8e055d83b9f
Set start directory to user home (Bug #41220)
John D <john.donoghue@ieee.org>
parents:
3417
diff
changeset
|
254 cp '$(1)/.build/src/.libs/octave-gui.exe' '$(3)$(HOST_BINDIR)'; \ |
5705
1855ad40685a
Octave: Copy "octave-svgconvert.exe" to bin directory for mingw target (bug #59546).
Markus Mützel <markus.muetzel@gmx.de>
parents:
5680
diff
changeset
|
255 cp '$(1)/.build/src/.libs/octave-svgconvert.exe' '$(3)$(HOST_BINDIR)'; \ |
3951
1cab2860069e
stable-octave: update to 4.0.0
John W. Eaton <jwe@octave.org>
parents:
3851
diff
changeset
|
256 if [ "x$(ENABLE_BINARY_PACKAGES)" == "xyes" ]; then \ |
1cab2860069e
stable-octave: update to 4.0.0
John W. Eaton <jwe@octave.org>
parents:
3851
diff
changeset
|
257 mkdir -p '$(3)$(BUILD_TOOLS_PREFIX)/bin'; \ |
1cab2860069e
stable-octave: update to 4.0.0
John W. Eaton <jwe@octave.org>
parents:
3851
diff
changeset
|
258 $(INSTALL) '$(1)/.build/src/$(MXE_TOOL_PREFIX)mkoctfile' '$(3)$(BUILD_TOOLS_PREFIX)/bin'; \ |
1cab2860069e
stable-octave: update to 4.0.0
John W. Eaton <jwe@octave.org>
parents:
3851
diff
changeset
|
259 $(INSTALL) '$(1)/.build/src/$(MXE_TOOL_PREFIX)octave-config' '$(3)$(BUILD_TOOLS_PREFIX)/bin'; \ |
1cab2860069e
stable-octave: update to 4.0.0
John W. Eaton <jwe@octave.org>
parents:
3851
diff
changeset
|
260 fi; \ |
3423
c8e055d83b9f
Set start directory to user home (Bug #41220)
John D <john.donoghue@ieee.org>
parents:
3417
diff
changeset
|
261 fi |
c8e055d83b9f
Set start directory to user home (Bug #41220)
John D <john.donoghue@ieee.org>
parents:
3417
diff
changeset
|
262 |
3383
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
263 if [ "x$(ENABLE_DOCS)" == "xyes" ]; then \ |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
264 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' DESTDIR=$(3) install-pdf install-html; \ |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
265 fi |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
266 |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3048
diff
changeset
|
267 # create a file with latest installed octave rev in it |
5566
31f2d5949b0e
Do not install Octave in separate folder.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5564
diff
changeset
|
268 mkdir -p '$(TOP_BUILD_DIR)/octave' |
5286
00a0eac6b6cd
eliminate separate WIN_VERSION for Octave installers (bug #57740)
John W. Eaton <jwe@octave.org>
parents:
5284
diff
changeset
|
269 echo "$($(PKG)_VERSION)" > $(TOP_BUILD_DIR)/octave/octave-version |
6392
8fe292548edf
Add uninstall options to remove local packages and settings (Bug #62352)
John Donoghue <john.donoghue@ieee.org>
parents:
6348
diff
changeset
|
270 $(SED) -n 's,.*"api-v\([^"]*\)".*,\1,p' $(3)$(HOST_INCDIR)/octave-$($(PKG)_VERSION)/octave/version.h > $(TOP_BUILD_DIR)/octave/octave-api |
2939
30a5052213e6
octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
271 endef |