This repository has been archived by the owner on Dec 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 33
/
org.freedesktop.Sdk.Extension.gfortran62.json.in
96 lines (96 loc) · 3.19 KB
/
org.freedesktop.Sdk.Extension.gfortran62.json.in
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
{
"id": "org.freedesktop.Sdk.Extension.gfortran-62",
"branch": "@@SDK_BRANCH@@",
"runtime": "org.freedesktop.Sdk",
"build-extension": true,
"sdk": "org.freedesktop.Sdk",
"runtime-version": "@@SDK_BRANCH@@",
"sdk-extensions": [],
"separate-locales": false,
"cleanup": [ "/share/info", "/share/man" ],
"build-options" : {
"cflags": "-O2 -g",
"cxxflags": "-O2 -g",
"prefix": "/usr/lib/sdk/gfortran-62",
"env": {
"V": "1"
}
},
"modules": [
{
"name": "gcc",
"cleanup": [ "/bin/c++",
"/bin/g++",
"/bin/cpp",
"/bin/gcc*",
"/bin/gcov*",
"/bin/*-gnu-*",
"/lib/lib*san*",
"/lib/lib*san*",
"/lib/libstdc++*",
"/lib/libsupc++*",
"/lib/libsupc++*",
"/libexec/gcc/*-gnu/6.2.0/cc1*"
],
"config-opts": [
"--enable-languages=fortran",
"--disable-multilib",
"--disable-bootstrap",
"--with-system-zlib",
"--enable-checking=release",
"--disable-stage1-checking",
"--disable-libsanitizer",
"--disable-libssp"
],
"build-options" : {
"arch" : {
"i386" : {
"config-opts" : [
"--build=i586-unknown-linux-gnu"
]
},
"arm" : {
"config-opts" : [
"--build=arm-unknown-linux-gnueabi"
]
}
}
},
"sources": [
{
"type": "archive",
"url": "https://ftp.gnu.org/gnu/gcc/gcc-6.2.0/gcc-6.2.0.tar.bz2",
"sha256": "9944589fc722d3e66308c0ce5257788ebd7872982a718aa2516123940671b7c5"
},
{
"type": "shell",
"commands": ["sed -e '/m64=/s/lib64/lib/' -i.orig gcc/config/i386/t-linux64"]
}
]
},
{
"name": "scripts",
"sources": [
{
"type": "script",
"commands": [
"mkdir -p /app/lib",
"cp -P /usr/lib/sdk/gfortran-62/lib/libquadmath.so* /usr/lib/sdk/gfortran-62/lib/libgfortran.so* /app/lib/"
],
"dest-filename": "install.sh"
},
{
"type": "script",
"commands": [
"export PATH=$PATH:/usr/lib/sdk/gfortran-62/bin"
],
"dest-filename": "use.sh"
}
],
"buildsystem": "simple",
"build-commands": [
"cp use.sh install.sh /usr/lib/sdk/gfortran-62/"
]
}
]
}