[99542] trunk/dports/lang/llvm-3.1/Portfile
Jeremy Huddleston Sequoia
jeremyhu at apple.com
Fri Nov 9 13:56:45 PST 2012
I reverted this change. We have discussed this a few times in the past and have decided not to support an option like this because of the binary compatibility issues involved with --enable-debug-runtime. I haven't investigated since around 2.9, but I was under the impression that the debug/optimized runtimes were still not binary compatible. Has that situation changed?
--Jeremy
On Nov 9, 2012, at 7:34 AM, phw at macports.org wrote:
> Revision: 99542
> http://trac.macports.org//changeset/99542
> Author: phw at macports.org
> Date: 2012-11-09 07:34:19 -0800 (Fri, 09 Nov 2012)
> Log Message:
> -----------
> llvm-3.1: added variants "debugruntime"
>
> Modified Paths:
> --------------
> trunk/dports/lang/llvm-3.1/Portfile
>
> Modified: trunk/dports/lang/llvm-3.1/Portfile
> ===================================================================
> --- trunk/dports/lang/llvm-3.1/Portfile 2012-11-09 15:32:16 UTC (rev 99541)
> +++ trunk/dports/lang/llvm-3.1/Portfile 2012-11-09 15:34:19 UTC (rev 99542)
> @@ -4,7 +4,7 @@
> PortGroup select 1.0
>
> set llvm_version 3.1
> -revision 4
> +revision 5
> name llvm-${llvm_version}
> subport clang-${llvm_version} {}
> set suffix mp-${llvm_version}
> @@ -151,6 +151,16 @@
> configure.args-append --enable-assertions
> }
>
> +variant debugruntime description "Enable debug informations. Disables optimisations" {
> + configure.args-delete --disable-debug-symbols
> + configure.args-delete --disable-debug-runtime
> + configure.args-delete --enable-optimized
> +
> + configure.args-append --enable-debug-runtime
> + configure.args-append --enable-debug-symbols
> + configure.args-append --disable-optimized
> +}
> +
> platform darwin {
> if {${build_arch} == "i386" } {
> configure.pre_args-append --build=i686-apple-darwin${os.major}
> @@ -283,6 +293,11 @@
> set pythonverdot 2.7
> }
>
> +
> + variant debug {
> + }
> +
> +
> variant analyzer description {Install clang static analyzer} {
> if {[string equal "${pythonver}" ""]} {
> ui_error "You mush select a python variant to use the clang static analyzer (+analyzer)"
> _______________________________________________
> macports-changes mailing list
> macports-changes at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-changes
More information about the macports-dev
mailing list