Commit Graph

2210 Commits

Author SHA1 Message Date
Anirudha Bose
84af7b5b94 Fix missing argument in changelog 2014-07-13 13:03:06 +02:00
Anirudha Bose
8acb9cc58a Handle case when workdir already exists 2014-07-13 13:03:06 +02:00
Anirudha Bose
b7022a19ef Implement missing features for Windows platform 2014-07-13 13:03:06 +02:00
Anirudha Bose
564ff11049 Initial Python port of --check-requirements 2014-07-13 13:03:06 +02:00
Anirudha Bose
de1b6762da Port get_nsis to Python using the new API 2014-07-13 13:03:06 +02:00
Anirudha Bose
dfdffbe5cc Drop-in replacement of wget for all platforms 2014-07-13 13:03:06 +02:00
Anirudha Bose
c44817d53b Use os.path.join to concatenate pathnames in a portable way 2014-07-13 13:03:06 +02:00
Anirudha Bose
cff5c5ac75 Split commands containing quotes into proper list for cmd.exe 2014-07-13 13:03:06 +02:00
Anirudha Bose
a21575f7d9 Synthesize subprocess calls through functions 2014-07-13 13:03:06 +02:00
Anirudha Bose
d97849ac85 Add more platform specific initializations 2014-07-13 13:03:06 +02:00
Anirudha Bose
2f9bd35610 Do not print non-ascii characters in cmd.exe 2014-07-13 13:03:06 +02:00
Anirudha Bose
487b519477 Remove close_fds from subprocess calls which is not supported in Windows 2014-07-13 13:03:06 +02:00
Anirudha Bose
d6bc9d536c Use a portable solution for timestamp in RFC 2822 format
strftime doesn't work on Windows
2014-07-13 13:03:06 +02:00
Anirudha Bose
f80f24abd1 Stash local changes before cloning the sources 2014-07-13 13:03:06 +02:00
Anirudha Bose
88f850ea10 Initial Python port of debianize.sh 2014-07-13 13:03:06 +02:00
Anirudha Bose
546d09b284 Logically separate script into sections 2014-07-13 13:03:06 +02:00
Anirudha Bose
a879ae345a Remove file indep.py
Already merged into cpt.py
2014-07-13 13:03:06 +02:00
Anirudha Bose
d14e8d17ef Initial Python port of cpt.sh
Merge already ported indep.py to cpt.py
2014-07-13 13:03:06 +02:00
Anirudha Bose
e6687233b4 Initial Python port of indep.sh 2014-07-13 13:03:06 +02:00
Axel Naumann
08d752703f Improve SLoc and output for dynscope errors (more ROOT-6365). 2014-07-02 12:15:01 +02:00
Axel Naumann
0a93013a89 Use the SLoc of the original Expr for better readability (ROOT-6365). 2014-07-01 16:42:58 +02:00
Axel Naumann
b1e81bdcfd Handle failure in dynlookup more gracefully (ROOT-6365). 2014-07-01 16:42:58 +02:00
Axel Naumann
0f77b4ff1b Less mem leaks. 2014-07-01 16:10:07 +02:00
Axel Naumann
41d9497052 Test that #pragma diagnoistics does not cause problems. 2014-07-01 14:44:04 +02:00
Anirudha Bose
90bac69568 Show a warning to the user if GPG fingerprint is absent 2014-06-25 11:06:00 +02:00
Anirudha Bose
1bb1009ca9 Add new override for the variable LLVM_GIT_URL 2014-06-25 11:06:00 +02:00
Anirudha Bose
3b1c585a52 Add new override for the variable CLANG_GIT_URL 2014-06-25 11:06:00 +02:00
Anirudha Bose
b43606acb6 Use set_version in case of --*-tag={tag} 2014-06-25 11:06:00 +02:00
Anirudha Bose
ffe2d5ef8a Produce an error when no arrguments are passed to cpt.sh 2014-06-25 11:06:00 +02:00
Anirudha Bose
a4a17a8b9a Merge cleanup functions of all platforms to a single one 2014-06-25 11:06:00 +02:00
Anirudha Bose
52e0768ded Remove double quotes to allow expansion of relative paths 2014-06-25 11:06:00 +02:00
Anirudha Bose
183563a03a Allow ${workdir} to be overridden 2014-06-25 11:06:00 +02:00
Anirudha Bose
e89f5d68cb Assign correct value to LLVM_OBJ_ROOT if it is null 2014-06-25 11:05:59 +02:00
Anirudha Bose
c6deaeca86 Trap SIGEXIT appropriately during exits 2014-06-25 11:05:59 +02:00
Anirudha Bose
3355f27235 Update documentation to include --nsis-tag={tag} 2014-06-25 11:05:59 +02:00
Anirudha Bose
6ed654f403 CPT: Update error condition for cross-compiling to Windows 2014-06-25 11:05:59 +02:00
Anirudha Bose
29d289ae29 CPT: Show an error if no value is passed with options that require one 2014-06-25 11:05:59 +02:00
Anirudha Bose
921b60e522 Checkout the proper Git tag when --*-tag={tag} is passed 2014-06-25 11:05:59 +02:00
Anirudha Bose
943844f81c cpt.sh: Add new option --nsis-tag={tag} 2014-06-25 11:05:59 +02:00
Anirudha Bose
558ea7d719 Add error handling in CPT scripts 2014-06-25 11:05:59 +02:00
Anirudha Bose
593b78a9cc Generate lit.site.cfg in ${LLVM_OBJ_ROOT}/test if not present
lit.site.cfg is parsed to get the values of SHLIBEXT and EXEEXT.
CMake automatically generates this without running tests.
2014-06-25 11:05:59 +02:00
Anirudha Bose
8b5c1a09de Running Cling tests shouldn't be a part of "make proper"
"make distribution" renamed to "make proper"
2014-06-25 11:05:59 +02:00
Anirudha Bose
fa0a31aae0 Use test/lit.site.cfg instead of config.log to get EXEEXT and SHLIBEXT 2014-06-25 11:05:59 +02:00
Anirudha Bose
24fbdf820d Fix invalid paths in NSI script
Also use the TMP_PREFIX variable in the path.
2014-06-25 11:05:59 +02:00
Anirudha Bose
f276927209 Use SHLIBEXT and EXEEXT to make dist-files.mk platform independent 2014-06-25 11:05:59 +02:00
Anirudha Bose
12687731b3 Add function in cling.nsi to detect existing installation of Cling 2014-06-25 11:05:59 +02:00
Anirudha Bose
9a4f4fead0 Add function in cling.nsi to detect the version of Windows
Abort installation for old and unsupported versions of Windows.
2014-06-25 11:05:59 +02:00
Anirudha Bose
5f1a782468 Update README.md for CPT 2014-06-25 11:05:59 +02:00
Anirudha Bose
ce452ec9d5 Remove "unzip" as a requirement in Cygwin
"unzip.exe" is fetched on the fly and used by CPT.
2014-06-25 11:05:59 +02:00
Anirudha Bose
1198ecaeb9 Update usage details of CPT 2014-06-25 11:05:59 +02:00