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
Anirudha Bose
5faa225459
Initial support for integrating CPT with the build system
2014-06-25 11:05:59 +02:00
Anirudha Bose
c9a40085a7
Remove extra LICENSE.TXT file of LLVM
2014-06-25 11:05:59 +02:00
Vassil Vassilev
1fd7010509
Remove the XFAIL, the test doesn't fail anymore.
2014-06-24 11:26:57 +02:00
Manasij Mukherjee
f474d63079
Generation of forward declarations of top level decls in an input file.
...
Consists of:
ForwardDeclPrinter, adapted from clang::DeclPrinter
Interpterer::GenerateAutoloadingMap for invoking the functionality
It has hardcoded checks to prevent ForwardDeclPrinter from visiting decls from
standard library files. This restriction will be lifted after the
issues specifyed in the tests are fixed.
Test cases for code which FowrardDeclPrinter can not deal with properly
2014-06-23 14:37:03 +02:00
Anirudha Bose
d42f77918d
Help POD understand line breaks.
...
Begin lines with a space which have a '\n' character.
This is only done for the text which will be a part of cling.pod.
2014-06-18 15:17:03 +02:00
Anirudha Bose
a507af4684
Help message has been fixed. No need for a wrapping tool anymore.
2014-06-18 15:17:03 +02:00
Anirudha Bose
bea1810af6
Change Cling's installer icon to use LLVM logo
2014-06-18 09:51:02 +02:00
Anirudha Bose
f461f9544b
Maintain an extended path in dist-files.mk for better accuracy
...
This is needed to resolve some duplicate files installed during "make install"
by default.
2014-06-18 09:51:02 +02:00
Anirudha Bose
19014400d4
Version key "FileVersion" is required in cling.nsi
2014-06-18 09:51:02 +02:00
Anirudha Bose
62f0148773
Add a mechanism to override default URL of Cling's git repo
...
Also handle cases where existing origin is different to the supplied origin.
2014-06-18 09:51:02 +02:00
Anirudha Bose
b029fbb5de
Hard code cling.exe to be included in the package
2014-06-18 09:51:02 +02:00
Anirudha Bose
c5bd3ea1a3
Translate Cygwin pathname to Windows format for makensis.exe
2014-06-18 09:51:02 +02:00
Anirudha Bose
e41724157b
Add icons for NSIS installer and uninstaller
2014-06-18 09:51:02 +02:00
Anirudha Bose
23c4bc0868
Enable building nsis executable from cling.nsi
2014-06-18 09:51:02 +02:00
Anirudha Bose
ca100adf9d
Use valid VIProductVersion key in cling.nsi
2014-06-18 09:51:02 +02:00
Anirudha Bose
967175fc5c
Use Windows style absolute paths in cling.nsi
2014-06-18 09:51:02 +02:00
Anirudha Bose
6483f480f1
Change mode of nsis directory to 775
...
Grant read and execute permissions to nsis executables
2014-06-18 09:51:02 +02:00
Anirudha Bose
17ea31cd78
Add "unzip" to list of requirements in Windows
2014-06-18 09:51:02 +02:00
Anirudha Bose
15ca2b1064
Generate nsi script with --current-dev=nsis and last-stable=nsis
2014-06-18 09:51:02 +02:00
Anirudha Bose
5b9937769e
Add uninstallation capabilities in cling.nsi
2014-06-18 09:51:02 +02:00
Anirudha Bose
3fa5f6d5fd
Use solid LZMA compression in NSIS installer
2014-06-18 09:51:02 +02:00
Anirudha Bose
6a321be404
Add section "Mainfiles" to NSI script
...
Section contains a list of files to be packaged in the installer
2014-06-18 09:51:02 +02:00
Anirudha Bose
401aa8514e
Initial metadata for cling.nsi
2014-06-18 09:51:02 +02:00
Anirudha Bose
4f93aff0bc
Do not proceed with install until cling.pod is generated
2014-06-18 09:51:02 +02:00
Anirudha Bose
47e6f62d7b
Change name of file to avoid using a .PHONY target for podgen
2014-06-18 09:51:02 +02:00
Anirudha Bose
800552ef6d
Remove static and obsolete help message
2014-06-18 09:51:02 +02:00
Anirudha Bose
94bca33f50
Remove cling.pod. We will generate it from cling.pod.in
2014-06-18 09:51:02 +02:00
Anirudha Bose
02183dd9cd
Dynamically generate help message for documentation
2014-06-18 09:51:02 +02:00
Anirudha Bose
ca87015367
No need to run ldconfig in debian/postinst
...
Clang libraries are not distributed anymore.
2014-06-18 09:51:02 +02:00