From 29d090f105526208044b5c7ebd94697340154940 Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Fri, 28 Sep 2012 16:39:21 -0700 Subject: [PATCH] ICL build improvements --- build/config-win32-icl.py | 2 +- build/config-win64-icl.py | 2 +- data/windows/extract-symbols.ps1 | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 data/windows/extract-symbols.ps1 diff --git a/build/config-win32-icl.py b/build/config-win32-icl.py index d409296a..74022fc2 100644 --- a/build/config-win32-icl.py +++ b/build/config-win32-icl.py @@ -3,7 +3,7 @@ DISTDIR = '#dist' CXX = 'icl' CC = 'icl' LINK = 'xilink' -CXXFLAGS = ['/nologo', '/O3', '/Qipo', '/QxSSE2', '/QaxSSE3,SSE4.2', '/fp:fast=2', '/D', 'WIN32', '/W3', '/Qdiag-disable:2586', '/EHsc', '/GS-', '/MD', '/D', 'MTS_DEBUG', '/D', 'SINGLE_PRECISION', '/D', 'SPECTRUM_SAMPLES=3', '/D', 'MTS_SSE', '/D', 'MTS_HAS_COHERENT_RT', '/D', '_CONSOLE', '/D', 'OPENEXR_DLL', '/D', 'NDEBUG', '/Qopenmp'] +CXXFLAGS = ['/nologo', '/O3', '/Qipo', '/QxSSE2', '/QaxSSE3,SSE4.2', '/fp:fast=2', '/D', 'WIN32', '/W3', '/Qdiag-disable:803' ,'/Qdiag-disable:2415', '/Qdiag-disable:2586', '/EHsc', '/GS-', '/MD', '/D', 'MTS_DEBUG', '/D', 'SINGLE_PRECISION', '/D', 'SPECTRUM_SAMPLES=3', '/D', 'MTS_SSE', '/D', 'MTS_HAS_COHERENT_RT', '/D', '_CONSOLE', '/D', 'OPENEXR_DLL', '/D', 'NDEBUG', '/Qopenmp'] SHCXXFLAGS = CXXFLAGS TARGET_ARCH = 'x86' MSVC_VERSION = '10.0' diff --git a/build/config-win64-icl.py b/build/config-win64-icl.py index 0f4ae1e3..88d9b87d 100644 --- a/build/config-win64-icl.py +++ b/build/config-win64-icl.py @@ -3,7 +3,7 @@ DISTDIR = '#dist' CXX = 'icl' CC = 'icl' LINK = 'xilink' -CXXFLAGS = ['/nologo', '/O3', '/Qipo', '/QxSSE2', '/QaxSSE3,SSE4.2', '/fp:fast=2', '/D', 'WIN32', '/D', 'WIN64', '/W3', '/Qdiag-disable:2586', '/EHsc', '/GS-', '/MD', '/D', 'MTS_DEBUG', '/D', 'SINGLE_PRECISION', '/D', 'SPECTRUM_SAMPLES=3', '/D', 'MTS_SSE', '/D', 'MTS_HAS_COHERENT_RT', '/D', '_CONSOLE', '/D', 'OPENEXR_DLL', '/D', 'NDEBUG', '/Qopenmp'] +CXXFLAGS = ['/nologo', '/O3', '/Qipo', '/QxSSE2', '/QaxSSE3,SSE4.2', '/fp:fast=2', '/D', 'WIN32', '/D', 'WIN64', '/W3', '/Qdiag-disable:803' ,'/Qdiag-disable:2415', '/Qdiag-disable:2586', '/EHsc', '/GS-', '/MD', '/D', 'MTS_DEBUG', '/D', 'SINGLE_PRECISION', '/D', 'SPECTRUM_SAMPLES=3', '/D', 'MTS_SSE', '/D', 'MTS_HAS_COHERENT_RT', '/D', '_CONSOLE', '/D', 'OPENEXR_DLL', '/D', 'NDEBUG', '/Qopenmp'] SHCXXFLAGS = CXXFLAGS TARGET_ARCH = 'x86_64' MSVC_VERSION = '10.0' diff --git a/data/windows/extract-symbols.ps1 b/data/windows/extract-symbols.ps1 new file mode 100644 index 00000000..f620ce07 --- /dev/null +++ b/data/windows/extract-symbols.ps1 @@ -0,0 +1,3 @@ +Remove-Item -Recurse -Force symbols +mkdir symbols +Get-ChildItem build -include *.pdb -recurse | foreach ($_) { python dependencies\bin\symbolstore.py dependencies\bin\dump_syms_x86 symbols $_.fullname } \ No newline at end of file