Check-in [baf6891267]
Not logged in
Overview
Comment:updated LLVM download script
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: baf6891267cd9ba3a07c73a07b31845aedf1a440
User & Date: martin_vahi on 2016-12-05 21:27:33
Other Links: manifest | tags
Context
2016-12-09 01:33
LLVM download and compilation script bugfix check-in: e8076eeeca user: martin_vahi tags: trunk
2016-12-05 21:27
updated LLVM download script check-in: baf6891267 user: martin_vahi tags: trunk
2016-12-03 16:18
script update and a copy of the LLVM check-in: 14cf5f930a user: martin_vahi tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Added work_in_progress/copy_of_the_LLVM/some_dependencies/cmake-3.7.1.tar.xz version [0a32b73117].

cannot compute difference between binary files

Added work_in_progress/copy_of_the_LLVM/some_dependencies/zlib-1.2.8.tar.gz version [a4d316c404].

cannot compute difference between binary files

Modified work_in_progress/copy_of_the_LLVM/src/download_the_LLVM_t1.bash from [a293a8ef45] to [459731d3be].

13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
..
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
..
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
...
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
...
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
...
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240

241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256



257
258
259
260
261
262
263
264
265
266
267
268
269
270

271
272

273
274
275
276
277
278
279
280
281
282
283
284
...
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
func_mmmv_exit_if_not_on_path_t2() { # S_COMMAND_NAME
    local S_COMMAND_NAME=$1
    local S_LOCAL_VARIABLE="`which $S_COMMAND_NAME 2>/dev/null`"
    if [ "$S_LOCAL_VARIABLE" == "" ]; then
        echo ""
        echo "Command \"$S_COMMAND_NAME\" could not be found from the PATH. "
        echo "The execution of the Bash script is aborted."
        echo "GUID=='36cc9a2b-f0b4-41b2-827e-13231130c0e7'"
        echo ""
        exit 1;
    fi
} # func_mmmv_exit_if_not_on_path_t2

func_mmmv_exit_if_not_on_path_t2 "git"
func_mmmv_exit_if_not_on_path_t2 "gcc"
................................................................................
    echo "    $S_FP_SCRIPTFILE_NAME"
    echo ""
    echo "The supported values are:"
    echo ""
    echo "    $S_FP_BASHSCRIPT_THAT_DOWNLOADS"
    echo "    $S_FP_BASHSCRIPT_THAT_COMPILES"
    echo ""
    echo "GUID=='05b5e338-06e5-4d41-a37e-13231130c0e7'"
    echo ""
    #--------
    cd $S_FP_ORIG
    exit 1 # exiting with an error
fi


................................................................................

func_assert_last_cmd_exited_without_errors_t1() {  # S_GUID
    local S_GUID="$1"
    if [ "$?" != "0" ]; then
        echo ""
        echo "Something went wrong. The error code is: $?"
        echo "GUID==\"$S_GUID\""
        echo "GUID=='cbf61617-ce86-494b-a37e-13231130c0e7'"
        echo ""
        #--------
        cd $S_FP_ORIG
        exit 1 # exiting with an error
    fi
} # func_assert_last_cmd_exited_without_errors_t1

................................................................................
    local S_FP="$1"
    local S_GUID="$2"
    #------------------------------
    if [ "$S_GUID" == "" ]; then
        echo ""
        echo "The code that calls this function is flawed."
        echo "This function requires 2 parameters: S_FP, S_GUID"
        echo "GUID=='6f5f4f52-25bf-4559-bc6e-13231130c0e7'"
        echo ""
        #--------
        cd $S_FP_ORIG
        exit 1 # exiting with an error
    fi
    #------------------------------
    if [ ! -e $S_FP ]; then
................................................................................
            echo ""
            echo "The path "
            echo ""
            echo "    $S_FP "
            echo ""
            echo "points to a broken symbolic link."
            echo "GUID==\"$S_GUID\""
            echo "GUID=='06c6fb2b-687e-4a06-b16e-13231130c0e7'"
            echo ""
            #--------
            cd $S_FP_ORIG
            exit 1 # exiting with an error
        else
            echo ""
            echo "The folder "
            echo ""
            echo "    $S_FP "
            echo ""
            echo "does not exist."
            echo "GUID==\"$S_GUID\""
            echo "GUID=='83ef2440-6f34-40a2-846e-13231130c0e7'"
            echo ""
            #--------
            cd $S_FP_ORIG
            exit 1 # exiting with an error
        fi
    fi
} # func_assert_folder_exists_t1
................................................................................
    #--------------------------------------------
    local S_TMP_0="$S_FP_DIR/vd_$S_TIMESTAMP"
    local S_TMP_0_SRC="$S_TMP_0/src"
    local S_TMP_0_INSTALLED="$S_TMP_0/installed"
    local S_FP_LLVM="$S_TMP_0_SRC/llvm"
    #----
    mkdir -p $S_TMP_0_SRC
    func_assert_last_cmd_exited_without_errors_t1 "3d0a06f4-7852-4eba-b97e-13231130c0e7"
    sleep 1
    func_assert_folder_exists_t1 "$S_TMP_0_SRC" \
        "799e8dab-fc7f-41fc-a37e-13231130c0e7"
    #----
    mkdir -p $S_TMP_0_INSTALLED
    func_assert_last_cmd_exited_without_errors_t1 "879f80ef-994b-4d13-937e-13231130c0e7"
    sleep 1
    func_assert_folder_exists_t1 "$S_TMP_0_INSTALLED" \
        "4182ffc4-7716-4d1b-b86e-13231130c0e7"
    #----
    cp $S_FP_BASHSCRIPT_THAT_DOWNLOADS  $S_TMP_0/$S_FN_BASHSCRIPT_THAT_COMPILES
    func_assert_last_cmd_exited_without_errors_t1 "44dc9b54-3316-4426-926e-13231130c0e7"
    #--------------------------------------------
    cd $S_TMP_0_SRC
        svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm
        func_assert_last_cmd_exited_without_errors_t1 "1cf7fe1d-6456-4fdc-856e-13231130c0e7"
        sleep 1
        func_assert_folder_exists_t1 "$S_FP_LLVM" "291a1e52-bb4e-44db-b36e-13231130c0e7"
        cd $S_FP_LLVM
            #--------------------------------------------
            mkdir -p ./tools
            func_assert_last_cmd_exited_without_errors_t1 "4ab52834-3309-4b97-8e6e-13231130c0e7"
            sleep 1
            func_assert_folder_exists_t1 "$S_FP_LLVM/tools" \
                "4fc0ab51-e8f6-4591-a26e-13231130c0e7"
            cd ./tools
                svn co http://llvm.org/svn/llvm-project/cfe/trunk clang
                func_assert_last_cmd_exited_without_errors_t1 "599dd339-f1ea-456c-946e-13231130c0e7"
            cd ..
            #--------
            sleep 1
            func_assert_folder_exists_t1 "$S_FP_LLVM/tools/clang/tools" \
                "c48f0333-5813-4d89-a36e-13231130c0e7"
            cd ./tools/clang/tools
                svn co http://llvm.org/svn/llvm-project/clang-tools-extra/trunk extra
                func_assert_last_cmd_exited_without_errors_t1 "25817b10-a9ea-4eb4-a36e-13231130c0e7"
            cd ../../..
            #--------
            sleep 1
            func_assert_folder_exists_t1 "$S_FP_LLVM/projects" \
                "327f4629-66ed-46ad-a36e-13231130c0e7"
            cd ./projects
                svn co http://llvm.org/svn/llvm-project/compiler-rt/trunk compiler-rt
                func_assert_last_cmd_exited_without_errors_t1 "fffaba5c-9895-4abf-a56e-13231130c0e7"
            cd ..
            #--------
            sleep 1
            func_assert_folder_exists_t1 "$S_FP_LLVM/projects" \
                "454c8fca-266e-432c-8a6e-13231130c0e7"
            cd ./projects
                svn co http://llvm.org/svn/llvm-project/test-suite/trunk test-suite
                func_assert_last_cmd_exited_without_errors_t1 "2706f13d-852d-4c49-b26e-13231130c0e7"
            cd ..
            #--------
            make update
            func_assert_last_cmd_exited_without_errors_t1 "481b7b16-4786-43b5-a55e-13231130c0e7"
        #--------------------------------------------
        cd .. # $S_FP_LLVM
    cd .. # $S_TMP_0_SRC
} # func_download

#--------------------------------------------------------------------------

func_compile(){
    #--------------------------------------------
    local S_TMP_0="$S_FP_DIR"
    local S_TMP_0_SRC="$S_TMP_0/src"
    local S_TMP_0_INSTALLED="$S_TMP_0/installed"

    local S_FP_LLVM="$S_TMP_0_SRC/llvm"
    #--------------------------------------------
    func_assert_folder_exists_t1 "$S_TMP_0_SRC" \
        "426ee84e-7989-4312-815e-13231130c0e7"
    func_assert_folder_exists_t1 "$S_TMP_0_INSTALLED" \
        "48e64671-b0c4-44fe-b35e-13231130c0e7"
    func_assert_folder_exists_t1 "$S_FP_LLVM" \
        "86c2f558-2820-4568-b55e-13231130c0e7"
    #--------------------------------------------
    cd $S_TMP_0_SRC
        cd $S_FP_LLVM
            #--------------------------------------------
            mkdir -p build
            func_assert_last_cmd_exited_without_errors_t1 "2da2747f-3428-41ff-a45e-13231130c0e7"
            sleep 1
            func_assert_folder_exists_t1 "$S_FP_LLVM/build" \



                "24041e51-9645-46d1-985e-13231130c0e7"
            #--------
            cd build
                CFLAGS="$CFLAGS" CXXFLAGS="$CFLAGS" nice -n15 ../configure \
                    --prefix=$S_TMP_0_INSTALLED \
                    --enable-optimized \
                    --enable-docs=yes \
                    --enable-pic \
                    --enable-targets=x86_64 \
                    --enable-libffi \
                    --enable-ltdl-install \
                    --disable-bindings  
                func_assert_last_cmd_exited_without_errors_t1 "3ccb7c57-f0d7-46eb-855e-13231130c0e7"
                nice -n19 make # takes hours to complete

                func_assert_last_cmd_exited_without_errors_t1 "3771af17-e53d-4f83-b15e-13231130c0e7"
                nice -n19 make install

                func_assert_last_cmd_exited_without_errors_t1 "46f94f5f-8efd-40e2-a45e-13231130c0e7"
            cd ..
            #--------------------------------------------
        cd .. # $S_FP_LLVM
    cd .. # $S_TMP_0_SRC
} # func_compile



#--------------------------------------------------------------------------

if [ "$S_MODE" == "mode_download" ]; then
................................................................................
    func_download
else
    if [ "$S_MODE" == "mode_compile" ]; then
        func_compile
    else
        echo ""
        echo "This script is flawed."
        echo "GUID=='1e508c75-2b74-4caa-8d6e-13231130c0e7'"
        echo ""
        #--------
        cd $S_FP_ORIG
        exit 1 # exiting with an error
    fi
fi

#--------------------------------------------------------------------------
 
 








|







 







|







 







|







 







|







 







|












|







 







|


|


|


|


|



|

|



|


|


|




|


|




|


|




|


|



|












>



|

|

|

|
<
<
<
|
|
|
>
>
>
|
|
|
<
<
<
<
<
<
<
<
<
|
<
>
|
<
>
|
<
|
<
|







 







|











13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
..
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
..
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
...
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
...
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
...
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251



252
253
254
255
256
257
258
259
260









261

262
263

264
265

266

267
268
269
270
271
272
273
274
...
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
func_mmmv_exit_if_not_on_path_t2() { # S_COMMAND_NAME
    local S_COMMAND_NAME=$1
    local S_LOCAL_VARIABLE="`which $S_COMMAND_NAME 2>/dev/null`"
    if [ "$S_LOCAL_VARIABLE" == "" ]; then
        echo ""
        echo "Command \"$S_COMMAND_NAME\" could not be found from the PATH. "
        echo "The execution of the Bash script is aborted."
        echo "GUID=='0833cc5d-3247-4209-8424-5153c050c0e7'"
        echo ""
        exit 1;
    fi
} # func_mmmv_exit_if_not_on_path_t2

func_mmmv_exit_if_not_on_path_t2 "git"
func_mmmv_exit_if_not_on_path_t2 "gcc"
................................................................................
    echo "    $S_FP_SCRIPTFILE_NAME"
    echo ""
    echo "The supported values are:"
    echo ""
    echo "    $S_FP_BASHSCRIPT_THAT_DOWNLOADS"
    echo "    $S_FP_BASHSCRIPT_THAT_COMPILES"
    echo ""
    echo "GUID=='a13e2b29-1be4-44f9-9324-5153c050c0e7'"
    echo ""
    #--------
    cd $S_FP_ORIG
    exit 1 # exiting with an error
fi


................................................................................

func_assert_last_cmd_exited_without_errors_t1() {  # S_GUID
    local S_GUID="$1"
    if [ "$?" != "0" ]; then
        echo ""
        echo "Something went wrong. The error code is: $?"
        echo "GUID==\"$S_GUID\""
        echo "GUID=='1c9f1e4d-516e-4163-b314-5153c050c0e7'"
        echo ""
        #--------
        cd $S_FP_ORIG
        exit 1 # exiting with an error
    fi
} # func_assert_last_cmd_exited_without_errors_t1

................................................................................
    local S_FP="$1"
    local S_GUID="$2"
    #------------------------------
    if [ "$S_GUID" == "" ]; then
        echo ""
        echo "The code that calls this function is flawed."
        echo "This function requires 2 parameters: S_FP, S_GUID"
        echo "GUID=='ce41da25-38a4-469a-a314-5153c050c0e7'"
        echo ""
        #--------
        cd $S_FP_ORIG
        exit 1 # exiting with an error
    fi
    #------------------------------
    if [ ! -e $S_FP ]; then
................................................................................
            echo ""
            echo "The path "
            echo ""
            echo "    $S_FP "
            echo ""
            echo "points to a broken symbolic link."
            echo "GUID==\"$S_GUID\""
            echo "GUID=='645ee34f-2fb6-4084-a214-5153c050c0e7'"
            echo ""
            #--------
            cd $S_FP_ORIG
            exit 1 # exiting with an error
        else
            echo ""
            echo "The folder "
            echo ""
            echo "    $S_FP "
            echo ""
            echo "does not exist."
            echo "GUID==\"$S_GUID\""
            echo "GUID=='64944e48-d225-4c46-b314-5153c050c0e7'"
            echo ""
            #--------
            cd $S_FP_ORIG
            exit 1 # exiting with an error
        fi
    fi
} # func_assert_folder_exists_t1
................................................................................
    #--------------------------------------------
    local S_TMP_0="$S_FP_DIR/vd_$S_TIMESTAMP"
    local S_TMP_0_SRC="$S_TMP_0/src"
    local S_TMP_0_INSTALLED="$S_TMP_0/installed"
    local S_FP_LLVM="$S_TMP_0_SRC/llvm"
    #----
    mkdir -p $S_TMP_0_SRC
    func_assert_last_cmd_exited_without_errors_t1 "c6e1ae48-d29b-4f6b-9224-5153c050c0e7"
    sleep 1
    func_assert_folder_exists_t1 "$S_TMP_0_SRC" \
        "845fc914-66b3-4349-a414-5153c050c0e7"
    #----
    mkdir -p $S_TMP_0_INSTALLED
    func_assert_last_cmd_exited_without_errors_t1 "edf96c3b-6eba-42c1-8114-5153c050c0e7"
    sleep 1
    func_assert_folder_exists_t1 "$S_TMP_0_INSTALLED" \
        "1853a88d-62e8-4e63-8314-5153c050c0e7"
    #----
    cp $S_FP_BASHSCRIPT_THAT_DOWNLOADS  $S_TMP_0/$S_FN_BASHSCRIPT_THAT_COMPILES
    func_assert_last_cmd_exited_without_errors_t1 "3acbce56-ddd7-4ccd-9314-5153c050c0e7"
    #--------------------------------------------
    cd $S_TMP_0_SRC
        svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm
        func_assert_last_cmd_exited_without_errors_t1 "cfd92d23-b56e-4459-9514-5153c050c0e7"
        sleep 1
        func_assert_folder_exists_t1 "$S_FP_LLVM" "f1cd60cf-5e63-4b63-a214-5153c050c0e7"
        cd $S_FP_LLVM
            #--------------------------------------------
            mkdir -p ./tools
            func_assert_last_cmd_exited_without_errors_t1 "53fbaea5-1780-4e17-9414-5153c050c0e7"
            sleep 1
            func_assert_folder_exists_t1 "$S_FP_LLVM/tools" \
                "31080158-0d7f-4e56-9314-5153c050c0e7"
            cd ./tools
                svn co http://llvm.org/svn/llvm-project/cfe/trunk clang
                func_assert_last_cmd_exited_without_errors_t1 "e6b15c38-fc71-4a62-8414-5153c050c0e7"
            cd ..
            #--------
            sleep 1
            func_assert_folder_exists_t1 "$S_FP_LLVM/tools/clang/tools" \
                "163b3d5f-7bf7-4943-b114-5153c050c0e7"
            cd ./tools/clang/tools
                svn co http://llvm.org/svn/llvm-project/clang-tools-extra/trunk extra
                func_assert_last_cmd_exited_without_errors_t1 "31821e1a-d552-4a88-a404-5153c050c0e7"
            cd ../../..
            #--------
            sleep 1
            func_assert_folder_exists_t1 "$S_FP_LLVM/projects" \
                "e6711c1d-6ae9-4a4d-9204-5153c050c0e7"
            cd ./projects
                svn co http://llvm.org/svn/llvm-project/compiler-rt/trunk compiler-rt
                func_assert_last_cmd_exited_without_errors_t1 "edd9881f-a15a-4291-b204-5153c050c0e7"
            cd ..
            #--------
            sleep 1
            func_assert_folder_exists_t1 "$S_FP_LLVM/projects" \
                "35819d60-2307-4618-9404-5153c050c0e7"
            cd ./projects
                svn co http://llvm.org/svn/llvm-project/test-suite/trunk test-suite
                func_assert_last_cmd_exited_without_errors_t1 "1ff4f433-c779-4c47-8504-5153c050c0e7"
            cd ..
            #--------
            make update
            func_assert_last_cmd_exited_without_errors_t1 "15ab745f-e121-4723-8304-5153c050c0e7"
        #--------------------------------------------
        cd .. # $S_FP_LLVM
    cd .. # $S_TMP_0_SRC
} # func_download

#--------------------------------------------------------------------------

func_compile(){
    #--------------------------------------------
    local S_TMP_0="$S_FP_DIR"
    local S_TMP_0_SRC="$S_TMP_0/src"
    local S_TMP_0_INSTALLED="$S_TMP_0/installed"
    local S_TMP_0_BUILD="$S_TMP_0/build_directory"
    local S_FP_LLVM="$S_TMP_0_SRC/llvm"
    #--------------------------------------------
    func_assert_folder_exists_t1 "$S_TMP_0_SRC" \
        "59ae1311-2d19-4c0b-b304-5153c050c0e7"
    func_assert_folder_exists_t1 "$S_TMP_0_INSTALLED" \
        "ad817f1d-402d-45fb-b204-5153c050c0e7"
    func_assert_folder_exists_t1 "$S_FP_LLVM" \
        "1d79733e-12d0-48df-9204-5153c050c0e7"
    #--------------------------------------------
    mkdir -p $S_TMP_0_BUILD



    func_assert_last_cmd_exited_without_errors_t1 "b977d757-8608-4c69-b304-5153c050c0e7"
    sleep 1
    func_assert_folder_exists_t1 "$S_TMP_0_BUILD" \
        "16593551-8d81-4264-8304-5153c050c0e7"
    #--------------------------------------------
    cd $S_TMP_0_BUILD
        # http://llvm.org/docs/CMake.html
        #--------
        nice -n19 cmake $S_FP_LLVM  # the configure step









        func_assert_last_cmd_exited_without_errors_t1 "0607a148-b8bb-4713-9304-5153c050c0e7"

        nice -n19 cmake --build . --target install
        func_assert_last_cmd_exited_without_errors_t1 "80176334-6ac0-419f-b404-5153c050c0e7"

        nice -n19 cmake -DCMAKE_INSTALL_PREFIX=$S_TMP_0_INSTALLED -P cmake_install.cmake
        func_assert_last_cmd_exited_without_errors_t1 "24506794-da95-4439-8504-5153c050c0e7"

        #--------------------------------------------

    cd .. # $S_TMP_0_BUILD
} # func_compile



#--------------------------------------------------------------------------

if [ "$S_MODE" == "mode_download" ]; then
................................................................................
    func_download
else
    if [ "$S_MODE" == "mode_compile" ]; then
        func_compile
    else
        echo ""
        echo "This script is flawed."
        echo "GUID=='61132b56-33cb-41ac-8314-5153c050c0e7'"
        echo ""
        #--------
        cd $S_FP_ORIG
        exit 1 # exiting with an error
    fi
fi

#--------------------------------------------------------------------------
 
 

Modified work_in_progress/copy_of_the_LLVM/src/vd_2016_12_03/compile_the_downloaded_LLVM_t1.bash from [a293a8ef45] to [459731d3be].

13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
..
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
..
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
...
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
...
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
...
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240

241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256



257
258
259
260
261
262
263
264
265
266
267
268
269
270

271
272

273
274
275
276
277
278
279
280
281
282
283
284
...
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
func_mmmv_exit_if_not_on_path_t2() { # S_COMMAND_NAME
    local S_COMMAND_NAME=$1
    local S_LOCAL_VARIABLE="`which $S_COMMAND_NAME 2>/dev/null`"
    if [ "$S_LOCAL_VARIABLE" == "" ]; then
        echo ""
        echo "Command \"$S_COMMAND_NAME\" could not be found from the PATH. "
        echo "The execution of the Bash script is aborted."
        echo "GUID=='36cc9a2b-f0b4-41b2-827e-13231130c0e7'"
        echo ""
        exit 1;
    fi
} # func_mmmv_exit_if_not_on_path_t2

func_mmmv_exit_if_not_on_path_t2 "git"
func_mmmv_exit_if_not_on_path_t2 "gcc"
................................................................................
    echo "    $S_FP_SCRIPTFILE_NAME"
    echo ""
    echo "The supported values are:"
    echo ""
    echo "    $S_FP_BASHSCRIPT_THAT_DOWNLOADS"
    echo "    $S_FP_BASHSCRIPT_THAT_COMPILES"
    echo ""
    echo "GUID=='05b5e338-06e5-4d41-a37e-13231130c0e7'"
    echo ""
    #--------
    cd $S_FP_ORIG
    exit 1 # exiting with an error
fi


................................................................................

func_assert_last_cmd_exited_without_errors_t1() {  # S_GUID
    local S_GUID="$1"
    if [ "$?" != "0" ]; then
        echo ""
        echo "Something went wrong. The error code is: $?"
        echo "GUID==\"$S_GUID\""
        echo "GUID=='cbf61617-ce86-494b-a37e-13231130c0e7'"
        echo ""
        #--------
        cd $S_FP_ORIG
        exit 1 # exiting with an error
    fi
} # func_assert_last_cmd_exited_without_errors_t1

................................................................................
    local S_FP="$1"
    local S_GUID="$2"
    #------------------------------
    if [ "$S_GUID" == "" ]; then
        echo ""
        echo "The code that calls this function is flawed."
        echo "This function requires 2 parameters: S_FP, S_GUID"
        echo "GUID=='6f5f4f52-25bf-4559-bc6e-13231130c0e7'"
        echo ""
        #--------
        cd $S_FP_ORIG
        exit 1 # exiting with an error
    fi
    #------------------------------
    if [ ! -e $S_FP ]; then
................................................................................
            echo ""
            echo "The path "
            echo ""
            echo "    $S_FP "
            echo ""
            echo "points to a broken symbolic link."
            echo "GUID==\"$S_GUID\""
            echo "GUID=='06c6fb2b-687e-4a06-b16e-13231130c0e7'"
            echo ""
            #--------
            cd $S_FP_ORIG
            exit 1 # exiting with an error
        else
            echo ""
            echo "The folder "
            echo ""
            echo "    $S_FP "
            echo ""
            echo "does not exist."
            echo "GUID==\"$S_GUID\""
            echo "GUID=='83ef2440-6f34-40a2-846e-13231130c0e7'"
            echo ""
            #--------
            cd $S_FP_ORIG
            exit 1 # exiting with an error
        fi
    fi
} # func_assert_folder_exists_t1
................................................................................
    #--------------------------------------------
    local S_TMP_0="$S_FP_DIR/vd_$S_TIMESTAMP"
    local S_TMP_0_SRC="$S_TMP_0/src"
    local S_TMP_0_INSTALLED="$S_TMP_0/installed"
    local S_FP_LLVM="$S_TMP_0_SRC/llvm"
    #----
    mkdir -p $S_TMP_0_SRC
    func_assert_last_cmd_exited_without_errors_t1 "3d0a06f4-7852-4eba-b97e-13231130c0e7"
    sleep 1
    func_assert_folder_exists_t1 "$S_TMP_0_SRC" \
        "799e8dab-fc7f-41fc-a37e-13231130c0e7"
    #----
    mkdir -p $S_TMP_0_INSTALLED
    func_assert_last_cmd_exited_without_errors_t1 "879f80ef-994b-4d13-937e-13231130c0e7"
    sleep 1
    func_assert_folder_exists_t1 "$S_TMP_0_INSTALLED" \
        "4182ffc4-7716-4d1b-b86e-13231130c0e7"
    #----
    cp $S_FP_BASHSCRIPT_THAT_DOWNLOADS  $S_TMP_0/$S_FN_BASHSCRIPT_THAT_COMPILES
    func_assert_last_cmd_exited_without_errors_t1 "44dc9b54-3316-4426-926e-13231130c0e7"
    #--------------------------------------------
    cd $S_TMP_0_SRC
        svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm
        func_assert_last_cmd_exited_without_errors_t1 "1cf7fe1d-6456-4fdc-856e-13231130c0e7"
        sleep 1
        func_assert_folder_exists_t1 "$S_FP_LLVM" "291a1e52-bb4e-44db-b36e-13231130c0e7"
        cd $S_FP_LLVM
            #--------------------------------------------
            mkdir -p ./tools
            func_assert_last_cmd_exited_without_errors_t1 "4ab52834-3309-4b97-8e6e-13231130c0e7"
            sleep 1
            func_assert_folder_exists_t1 "$S_FP_LLVM/tools" \
                "4fc0ab51-e8f6-4591-a26e-13231130c0e7"
            cd ./tools
                svn co http://llvm.org/svn/llvm-project/cfe/trunk clang
                func_assert_last_cmd_exited_without_errors_t1 "599dd339-f1ea-456c-946e-13231130c0e7"
            cd ..
            #--------
            sleep 1
            func_assert_folder_exists_t1 "$S_FP_LLVM/tools/clang/tools" \
                "c48f0333-5813-4d89-a36e-13231130c0e7"
            cd ./tools/clang/tools
                svn co http://llvm.org/svn/llvm-project/clang-tools-extra/trunk extra
                func_assert_last_cmd_exited_without_errors_t1 "25817b10-a9ea-4eb4-a36e-13231130c0e7"
            cd ../../..
            #--------
            sleep 1
            func_assert_folder_exists_t1 "$S_FP_LLVM/projects" \
                "327f4629-66ed-46ad-a36e-13231130c0e7"
            cd ./projects
                svn co http://llvm.org/svn/llvm-project/compiler-rt/trunk compiler-rt
                func_assert_last_cmd_exited_without_errors_t1 "fffaba5c-9895-4abf-a56e-13231130c0e7"
            cd ..
            #--------
            sleep 1
            func_assert_folder_exists_t1 "$S_FP_LLVM/projects" \
                "454c8fca-266e-432c-8a6e-13231130c0e7"
            cd ./projects
                svn co http://llvm.org/svn/llvm-project/test-suite/trunk test-suite
                func_assert_last_cmd_exited_without_errors_t1 "2706f13d-852d-4c49-b26e-13231130c0e7"
            cd ..
            #--------
            make update
            func_assert_last_cmd_exited_without_errors_t1 "481b7b16-4786-43b5-a55e-13231130c0e7"
        #--------------------------------------------
        cd .. # $S_FP_LLVM
    cd .. # $S_TMP_0_SRC
} # func_download

#--------------------------------------------------------------------------

func_compile(){
    #--------------------------------------------
    local S_TMP_0="$S_FP_DIR"
    local S_TMP_0_SRC="$S_TMP_0/src"
    local S_TMP_0_INSTALLED="$S_TMP_0/installed"

    local S_FP_LLVM="$S_TMP_0_SRC/llvm"
    #--------------------------------------------
    func_assert_folder_exists_t1 "$S_TMP_0_SRC" \
        "426ee84e-7989-4312-815e-13231130c0e7"
    func_assert_folder_exists_t1 "$S_TMP_0_INSTALLED" \
        "48e64671-b0c4-44fe-b35e-13231130c0e7"
    func_assert_folder_exists_t1 "$S_FP_LLVM" \
        "86c2f558-2820-4568-b55e-13231130c0e7"
    #--------------------------------------------
    cd $S_TMP_0_SRC
        cd $S_FP_LLVM
            #--------------------------------------------
            mkdir -p build
            func_assert_last_cmd_exited_without_errors_t1 "2da2747f-3428-41ff-a45e-13231130c0e7"
            sleep 1
            func_assert_folder_exists_t1 "$S_FP_LLVM/build" \



                "24041e51-9645-46d1-985e-13231130c0e7"
            #--------
            cd build
                CFLAGS="$CFLAGS" CXXFLAGS="$CFLAGS" nice -n15 ../configure \
                    --prefix=$S_TMP_0_INSTALLED \
                    --enable-optimized \
                    --enable-docs=yes \
                    --enable-pic \
                    --enable-targets=x86_64 \
                    --enable-libffi \
                    --enable-ltdl-install \
                    --disable-bindings  
                func_assert_last_cmd_exited_without_errors_t1 "3ccb7c57-f0d7-46eb-855e-13231130c0e7"
                nice -n19 make # takes hours to complete

                func_assert_last_cmd_exited_without_errors_t1 "3771af17-e53d-4f83-b15e-13231130c0e7"
                nice -n19 make install

                func_assert_last_cmd_exited_without_errors_t1 "46f94f5f-8efd-40e2-a45e-13231130c0e7"
            cd ..
            #--------------------------------------------
        cd .. # $S_FP_LLVM
    cd .. # $S_TMP_0_SRC
} # func_compile



#--------------------------------------------------------------------------

if [ "$S_MODE" == "mode_download" ]; then
................................................................................
    func_download
else
    if [ "$S_MODE" == "mode_compile" ]; then
        func_compile
    else
        echo ""
        echo "This script is flawed."
        echo "GUID=='1e508c75-2b74-4caa-8d6e-13231130c0e7'"
        echo ""
        #--------
        cd $S_FP_ORIG
        exit 1 # exiting with an error
    fi
fi

#--------------------------------------------------------------------------
 
 








|







 







|







 







|







 







|







 







|












|







 







|


|


|


|


|



|

|



|


|


|




|


|




|


|




|


|



|












>



|

|

|

|
<
<
<
|
|
|
>
>
>
|
|
|
<
<
<
<
<
<
<
<
<
|
<
>
|
<
>
|
<
|
<
|







 







|











13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
..
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
..
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
...
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
...
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
...
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251



252
253
254
255
256
257
258
259
260









261

262
263

264
265

266

267
268
269
270
271
272
273
274
...
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
func_mmmv_exit_if_not_on_path_t2() { # S_COMMAND_NAME
    local S_COMMAND_NAME=$1
    local S_LOCAL_VARIABLE="`which $S_COMMAND_NAME 2>/dev/null`"
    if [ "$S_LOCAL_VARIABLE" == "" ]; then
        echo ""
        echo "Command \"$S_COMMAND_NAME\" could not be found from the PATH. "
        echo "The execution of the Bash script is aborted."
        echo "GUID=='0833cc5d-3247-4209-8424-5153c050c0e7'"
        echo ""
        exit 1;
    fi
} # func_mmmv_exit_if_not_on_path_t2

func_mmmv_exit_if_not_on_path_t2 "git"
func_mmmv_exit_if_not_on_path_t2 "gcc"
................................................................................
    echo "    $S_FP_SCRIPTFILE_NAME"
    echo ""
    echo "The supported values are:"
    echo ""
    echo "    $S_FP_BASHSCRIPT_THAT_DOWNLOADS"
    echo "    $S_FP_BASHSCRIPT_THAT_COMPILES"
    echo ""
    echo "GUID=='a13e2b29-1be4-44f9-9324-5153c050c0e7'"
    echo ""
    #--------
    cd $S_FP_ORIG
    exit 1 # exiting with an error
fi


................................................................................

func_assert_last_cmd_exited_without_errors_t1() {  # S_GUID
    local S_GUID="$1"
    if [ "$?" != "0" ]; then
        echo ""
        echo "Something went wrong. The error code is: $?"
        echo "GUID==\"$S_GUID\""
        echo "GUID=='1c9f1e4d-516e-4163-b314-5153c050c0e7'"
        echo ""
        #--------
        cd $S_FP_ORIG
        exit 1 # exiting with an error
    fi
} # func_assert_last_cmd_exited_without_errors_t1

................................................................................
    local S_FP="$1"
    local S_GUID="$2"
    #------------------------------
    if [ "$S_GUID" == "" ]; then
        echo ""
        echo "The code that calls this function is flawed."
        echo "This function requires 2 parameters: S_FP, S_GUID"
        echo "GUID=='ce41da25-38a4-469a-a314-5153c050c0e7'"
        echo ""
        #--------
        cd $S_FP_ORIG
        exit 1 # exiting with an error
    fi
    #------------------------------
    if [ ! -e $S_FP ]; then
................................................................................
            echo ""
            echo "The path "
            echo ""
            echo "    $S_FP "
            echo ""
            echo "points to a broken symbolic link."
            echo "GUID==\"$S_GUID\""
            echo "GUID=='645ee34f-2fb6-4084-a214-5153c050c0e7'"
            echo ""
            #--------
            cd $S_FP_ORIG
            exit 1 # exiting with an error
        else
            echo ""
            echo "The folder "
            echo ""
            echo "    $S_FP "
            echo ""
            echo "does not exist."
            echo "GUID==\"$S_GUID\""
            echo "GUID=='64944e48-d225-4c46-b314-5153c050c0e7'"
            echo ""
            #--------
            cd $S_FP_ORIG
            exit 1 # exiting with an error
        fi
    fi
} # func_assert_folder_exists_t1
................................................................................
    #--------------------------------------------
    local S_TMP_0="$S_FP_DIR/vd_$S_TIMESTAMP"
    local S_TMP_0_SRC="$S_TMP_0/src"
    local S_TMP_0_INSTALLED="$S_TMP_0/installed"
    local S_FP_LLVM="$S_TMP_0_SRC/llvm"
    #----
    mkdir -p $S_TMP_0_SRC
    func_assert_last_cmd_exited_without_errors_t1 "c6e1ae48-d29b-4f6b-9224-5153c050c0e7"
    sleep 1
    func_assert_folder_exists_t1 "$S_TMP_0_SRC" \
        "845fc914-66b3-4349-a414-5153c050c0e7"
    #----
    mkdir -p $S_TMP_0_INSTALLED
    func_assert_last_cmd_exited_without_errors_t1 "edf96c3b-6eba-42c1-8114-5153c050c0e7"
    sleep 1
    func_assert_folder_exists_t1 "$S_TMP_0_INSTALLED" \
        "1853a88d-62e8-4e63-8314-5153c050c0e7"
    #----
    cp $S_FP_BASHSCRIPT_THAT_DOWNLOADS  $S_TMP_0/$S_FN_BASHSCRIPT_THAT_COMPILES
    func_assert_last_cmd_exited_without_errors_t1 "3acbce56-ddd7-4ccd-9314-5153c050c0e7"
    #--------------------------------------------
    cd $S_TMP_0_SRC
        svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm
        func_assert_last_cmd_exited_without_errors_t1 "cfd92d23-b56e-4459-9514-5153c050c0e7"
        sleep 1
        func_assert_folder_exists_t1 "$S_FP_LLVM" "f1cd60cf-5e63-4b63-a214-5153c050c0e7"
        cd $S_FP_LLVM
            #--------------------------------------------
            mkdir -p ./tools
            func_assert_last_cmd_exited_without_errors_t1 "53fbaea5-1780-4e17-9414-5153c050c0e7"
            sleep 1
            func_assert_folder_exists_t1 "$S_FP_LLVM/tools" \
                "31080158-0d7f-4e56-9314-5153c050c0e7"
            cd ./tools
                svn co http://llvm.org/svn/llvm-project/cfe/trunk clang
                func_assert_last_cmd_exited_without_errors_t1 "e6b15c38-fc71-4a62-8414-5153c050c0e7"
            cd ..
            #--------
            sleep 1
            func_assert_folder_exists_t1 "$S_FP_LLVM/tools/clang/tools" \
                "163b3d5f-7bf7-4943-b114-5153c050c0e7"
            cd ./tools/clang/tools
                svn co http://llvm.org/svn/llvm-project/clang-tools-extra/trunk extra
                func_assert_last_cmd_exited_without_errors_t1 "31821e1a-d552-4a88-a404-5153c050c0e7"
            cd ../../..
            #--------
            sleep 1
            func_assert_folder_exists_t1 "$S_FP_LLVM/projects" \
                "e6711c1d-6ae9-4a4d-9204-5153c050c0e7"
            cd ./projects
                svn co http://llvm.org/svn/llvm-project/compiler-rt/trunk compiler-rt
                func_assert_last_cmd_exited_without_errors_t1 "edd9881f-a15a-4291-b204-5153c050c0e7"
            cd ..
            #--------
            sleep 1
            func_assert_folder_exists_t1 "$S_FP_LLVM/projects" \
                "35819d60-2307-4618-9404-5153c050c0e7"
            cd ./projects
                svn co http://llvm.org/svn/llvm-project/test-suite/trunk test-suite
                func_assert_last_cmd_exited_without_errors_t1 "1ff4f433-c779-4c47-8504-5153c050c0e7"
            cd ..
            #--------
            make update
            func_assert_last_cmd_exited_without_errors_t1 "15ab745f-e121-4723-8304-5153c050c0e7"
        #--------------------------------------------
        cd .. # $S_FP_LLVM
    cd .. # $S_TMP_0_SRC
} # func_download

#--------------------------------------------------------------------------

func_compile(){
    #--------------------------------------------
    local S_TMP_0="$S_FP_DIR"
    local S_TMP_0_SRC="$S_TMP_0/src"
    local S_TMP_0_INSTALLED="$S_TMP_0/installed"
    local S_TMP_0_BUILD="$S_TMP_0/build_directory"
    local S_FP_LLVM="$S_TMP_0_SRC/llvm"
    #--------------------------------------------
    func_assert_folder_exists_t1 "$S_TMP_0_SRC" \
        "59ae1311-2d19-4c0b-b304-5153c050c0e7"
    func_assert_folder_exists_t1 "$S_TMP_0_INSTALLED" \
        "ad817f1d-402d-45fb-b204-5153c050c0e7"
    func_assert_folder_exists_t1 "$S_FP_LLVM" \
        "1d79733e-12d0-48df-9204-5153c050c0e7"
    #--------------------------------------------
    mkdir -p $S_TMP_0_BUILD



    func_assert_last_cmd_exited_without_errors_t1 "b977d757-8608-4c69-b304-5153c050c0e7"
    sleep 1
    func_assert_folder_exists_t1 "$S_TMP_0_BUILD" \
        "16593551-8d81-4264-8304-5153c050c0e7"
    #--------------------------------------------
    cd $S_TMP_0_BUILD
        # http://llvm.org/docs/CMake.html
        #--------
        nice -n19 cmake $S_FP_LLVM  # the configure step









        func_assert_last_cmd_exited_without_errors_t1 "0607a148-b8bb-4713-9304-5153c050c0e7"

        nice -n19 cmake --build . --target install
        func_assert_last_cmd_exited_without_errors_t1 "80176334-6ac0-419f-b404-5153c050c0e7"

        nice -n19 cmake -DCMAKE_INSTALL_PREFIX=$S_TMP_0_INSTALLED -P cmake_install.cmake
        func_assert_last_cmd_exited_without_errors_t1 "24506794-da95-4439-8504-5153c050c0e7"

        #--------------------------------------------

    cd .. # $S_TMP_0_BUILD
} # func_compile



#--------------------------------------------------------------------------

if [ "$S_MODE" == "mode_download" ]; then
................................................................................
    func_download
else
    if [ "$S_MODE" == "mode_compile" ]; then
        func_compile
    else
        echo ""
        echo "This script is flawed."
        echo "GUID=='61132b56-33cb-41ac-8314-5153c050c0e7'"
        echo ""
        #--------
        cd $S_FP_ORIG
        exit 1 # exiting with an error
    fi
fi

#--------------------------------------------------------------------------
 
 

Deleted work_in_progress/copy_of_the_LLVM/src/vd_2016_12_03/src/llvm/test/DebugInfo/Inputs/dwarfdump-test3.elf-x86-64 space version [33cf10266b].

cannot compute difference between binary files

Deleted work_in_progress/copy_of_the_LLVM/src/vd_2016_12_03/src/llvm/tools/clang/test/ARCMT/Inputs/with space/test.h version [66e4134db5].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
@protocol NSObject
- (oneway void)release;
@end

#ifdef PART1
static inline void part1(id p) {
  [p release];
}
#endif

#ifdef PART2
static inline void part2(id p) {
  [p release];
}
#endif
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<






























Deleted work_in_progress/copy_of_the_LLVM/src/vd_2016_12_03/src/llvm/tools/clang/test/ARCMT/Inputs/with space/test.h.result version [0efcc0cdfb].

1
2
3
4
5
6
7
8
9
10
11
12
13
@protocol NSObject
- (oneway void)release;
@end

#ifdef PART1
static inline void part1(id p) {
}
#endif

#ifdef PART2
static inline void part2(id p) {
}
#endif
<
<
<
<
<
<
<
<
<
<
<
<
<


























Deleted work_in_progress/copy_of_the_LLVM/src/vd_2016_12_03/src/llvm/tools/clang/test/ARCMT/Inputs/with space/test1.m.in version [e594dc27c9].

1
2
3
4
5
6
#define PART1
#include "test.h"

void test1(id p) {
  [p release];
}
<
<
<
<
<
<












Deleted work_in_progress/copy_of_the_LLVM/src/vd_2016_12_03/src/llvm/tools/clang/test/ARCMT/Inputs/with space/test1.m.in.result version [a0cddde177].

1
2
3
4
5
#define PART1
#include "test.h"

void test1(id p) {
}
<
<
<
<
<










Deleted work_in_progress/copy_of_the_LLVM/src/vd_2016_12_03/src/llvm/tools/clang/test/ARCMT/Inputs/with space/test2.m.in version [f57da18eed].

1
2
3
4
5
6
#define PART2
#include "test.h"

void test2(id p) {
  [p release];
}
<
<
<
<
<
<












Deleted work_in_progress/copy_of_the_LLVM/src/vd_2016_12_03/src/llvm/tools/clang/test/ARCMT/Inputs/with space/test2.m.in.result version [5404ad1206].

1
2
3
4
5
#define PART2
#include "test.h"

void test2(id p) {
}
<
<
<
<
<










Deleted work_in_progress/copy_of_the_LLVM/src/vd_2016_12_03/src/llvm/tools/clang/test/Driver/crash report spaces.c version [ff0961e3ee].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// RUN: rm -rf "%t"
// RUN: mkdir "%t"
// RUN: not env TMPDIR="%t" TEMP="%t" TMP="%t" RC_DEBUG_OPTIONS=1 %clang -fsyntax-only "%s" 2>&1 | FileCheck "%s"
// RUN: cat "%t/crash report spaces"-*.c | FileCheck --check-prefix=CHECKSRC "%s"
// RUN: cat "%t/crash report spaces"-*.sh | FileCheck --check-prefix=CHECKSH "%s"
// REQUIRES: crash-recovery

// because of the glob (*.c, *.sh)
// REQUIRES: shell

#pragma clang __debug parser_crash
// CHECK: Preprocessed source(s) and associated run script(s) are located at:
// CHECK-NEXT: note: diagnostic msg: {{.*}}.c
FOO
// CHECKSRC: FOO
// CHECKSH: "-cc1"
// CHECKSH: "-main-file-name" "crash report spaces.c"
// CHECKSH: "crash report spaces-{{[^ ]*}}.c"
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<




































Deleted work_in_progress/copy_of_the_LLVM/src/vd_2016_12_03/src/llvm/tools/clang/www/demo/what is this directory.txt version [3fba100a51].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
This is for the LLVM+Clang browser based demo.
It is supposed to work like the LLVM+GCC demo here: http://llvm.org/demo/ but for the BSD licensed Clang instead.

Perhaps it could also be used for getting crash information and details on errors....  I'm not sure if this would require some major changes or not to report this info.  Maybe also adding ways that people can use it to test for errors and a way to report such errors would also be good.

Status:
Anyways, right now, these file a basically just a copy of the LLVM+GCC demo (no changes have been made).  The files don't even work right in this location on the server.  As such, someone will need to edit the file or rewrite it.

If nobody in the LLVM community has the skills, one suggestion would be to post a request on a friendly Perl forum and see if anybody might be interested in taking on the challenge.

Alternatively, you could try a PHP, Python, Ruby, or Lisp mailing list and see if there are any takers who would be interested (and willing to do a rewrite to their language of choice).

--
BTW, once this feature was working, my intention was to link to it from the index.html page in the section entitled:
Try Clang
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<