summaryrefslogtreecommitdiff
path: root/config/versions/gmp.in
blob: b4c738bf2af0d52145d3e6a42522b849952b529a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
#
# DO NOT EDIT! This file is automatically generated.
#


if EXPERIMENTAL
choice
	bool "Source of gmp"

config GMP_SRC_RELEASE
	bool "Released tarball"
	help
	  Download a released tarball.

config GMP_SRC_DEVEL
	bool "Vendor repository"
	help
	  Check out from vendor repository at:
	  https://gmplib.org/repo/gmp/

if GMP_SRC_DEVEL

config GMP_DEVEL_VCS
	string
	default "hg"

config GMP_DEVEL_URL
	string
	default "https://gmplib.org/repo/gmp/"

config GMP_DEVEL_BRANCH
	string "Branch to check out"
	default ""
	help
	  Git: branch to be checked out
	  Subversion: directories to append to the repository URL.

config GMP_DEVEL_REVISION
	string "Revision/changeset"
	default "HEAD"
	help
	  Commit ID or revision ID to check out.

endif

config GMP_SRC_CUSTOM
	bool "Custom location"
	depends on EXPERIMENTAL
	help
	  Custom directory or tarball.

if GMP_SRC_CUSTOM

config GMP_CUSTOM_LOCATION
	string "Custom source location"
	help
	  Path to the directory or tarball with the sources.

endif

endchoice
endif

config GMP_MIRRORS_ARRAY
    string
    default ""

choice
	bool "Version of gmp"
    help
      For a released version, select the version of gmp to download
      and build. For sources out of the vendor repository or from a custom
      location, select the version that describes those custom sources.
      Based on this version, crosstool-NG may apply some version-specific
      quirks while building gmp.

config GMP_VERY_NEW
    bool "newer than anything below"
    depends on EXPERIMENTAL
    depends on GMP_SRC_DEVEL || GMP_SRC_CUSTOM
    select GMP_5_1_or_later
    depends on !GMP_REQUIRE_5_1_or_older

config GMP_V_6_1_2
	bool "6.1.2"
	select GMP_5_1_or_later
    depends on !GMP_REQUIRE_5_1_or_older

config GMP_V_6_1_0
	bool "6.1.0 (OBSOLETE)"
	depends on OBSOLETE
	select GMP_5_1_or_later
    depends on !GMP_REQUIRE_5_1_or_older

config GMP_V_6_0_0A
	bool "6.0.0a (OBSOLETE)"
	depends on OBSOLETE
	select GMP_5_1_or_later
    depends on !GMP_REQUIRE_5_1_or_older

config GMP_V_5_1_3
	bool "5.1.3 (OBSOLETE)"
	depends on OBSOLETE
	select GMP_5_1_or_later
    depends on !GMP_REQUIRE_5_1_or_older

config GMP_V_5_1_1
	bool "5.1.1 (OBSOLETE)"
	depends on OBSOLETE
	select GMP_5_1_or_later
    depends on !GMP_REQUIRE_5_1_or_older

config GMP_V_5_0_2
	bool "5.0.2 (OBSOLETE)"
	depends on OBSOLETE
    depends on !GMP_REQUIRE_5_1_or_later

config GMP_V_5_0_1
	bool "5.0.1 (OBSOLETE)"
	depends on OBSOLETE
    depends on !GMP_REQUIRE_5_1_or_later

config GMP_V_4_3_2
	bool "4.3.2 (OBSOLETE)"
	depends on OBSOLETE
    depends on !GMP_REQUIRE_5_1_or_later

config GMP_V_4_3_1
	bool "4.3.1 (OBSOLETE)"
	depends on OBSOLETE
    depends on !GMP_REQUIRE_5_1_or_later

config GMP_V_4_3_0
	bool "4.3.0 (OBSOLETE)"
	depends on OBSOLETE
    depends on !GMP_REQUIRE_5_1_or_later

config GMP_VERY_OLD
    bool "older than anything above"
    depends on OBSOLETE && EXPERIMENTAL
    depends on GMP_SRC_DEVEL || GMP_SRC_CUSTOM
    depends on !GMP_REQUIRE_5_1_or_later

endchoice



config GMP_VERSION
	string
	default "6.1.2" if GMP_V_6_1_2
	default "6.1.0" if GMP_V_6_1_0
	default "6.0.0a" if GMP_V_6_0_0A
	default "5.1.3" if GMP_V_5_1_3
	default "5.1.1" if GMP_V_5_1_1
	default "5.0.2" if GMP_V_5_0_2
	default "5.0.1" if GMP_V_5_0_1
	default "4.3.2" if GMP_V_4_3_2
	default "4.3.1" if GMP_V_4_3_1
	default "4.3.0" if GMP_V_4_3_0
	default "unknown"


config GMP_5_1_or_later
	bool

config GMP_REQUIRE_5_1_or_later
    bool

config GMP_REQUIRE_5_1_or_older
    bool