test script #!/bin/bash varsfile="$(mktemp -t vars.XXXXXXXX)" autobuild source_environment > "$varsfile" source "$varsfile" echo "LL_BUILD = '$LL_BUILD'"
Output Bill@BILLAW /cygdrive/c/Users/Bill/P64/viewer64 $ bash buildit.sh LL_BUILD = '' $varsfile contents export AUTOBUILD='C:\Users\Bill\Envs\autobuild-1.1\Scripts\autobuild' export AUTOBUILD_WIN_VSPLATFORM='Win32' export AUTOBUILD_CONFIGURE_ARCH='i386' export AUTOBUILD_VERSION_STRING='1.1.0' export AUTOBUILD_WIN_CMAKE_GEN='Visual Studio 12' export AUTOBUILD_PLATFORM='windows' LL_BUILD_BASE_MACROS='/D_SECURE_STL=0 /D_HAS_ITERATOR_DEBUGGING=0 /DWIN32 /D_WINDOWS /DLL_WINDOWS=1 /DUNICODE /D_UNICODE /DWINVER=0x0600 /D_WIN32_WINNT=0x0600 /DLL_OS_DRAGDROP_ENABLED=1 /DCARES_STATICLIB /DLIB_NDOF=1' LL_BUILD_LINUX_RELWITHDEBINFO='-O0 -g -fPIC -DLL_LINUX=1 -DLL_OS_DRAGDROP_ENABLED=1 -DCARES_STATICLIB -DLIB_NDOF=1' LL_BUILD_WINDOWS_BASE='/Zc:wchar_t- /Zi /GR /DEBUG /SAFESEH:NO /NODEFAULTLIB:LIBCMT /D_SECURE_STL=0 /D_HAS_ITERATOR_DEBUGGING=0 /DWIN32 /D_WINDOWS /DLL_WINDOWS=1 /DUNICODE /D_UNICODE /DWINVER=0x0600 /D_WIN32_WINNT=0x0600 /DLL_OS_DRAGDROP_ENABLED=1 /DCARES_STATICLIB /DLIB_NDOF=1' LL_BUILD_WINDOWS_DEBUG='/MDd /Od /INCREMENTAL:NO /NODEFAULTLIB:LIBCMTD /NODEFAULTLIB:MSVCRT /Zc:wchar_t- /Zi /GR /DEBUG /SAFESEH:NO /NODEFAULTLIB:LIBCMT /D_DEBUG /DLL_DEBUG=1 /D_SCL_SECURE_NO_WARNINGS=1 /D_SECURE_STL=0 /D_HAS_ITERATOR_DEBUGGING=0 /DWIN32 /D_WINDOWS /DLL_WINDOWS=1 /DUNICODE /D_UNICODE /DWINVER=0x0600 /D_WIN32_WINNT=0x0600 /DLL_OS_DRAGDROP_ENABLED=1 /DCARES_STATICLIB /DLIB_NDOF=1' LL_BUILD_LINUX_RELEASE='-O2 -g -fPIC -DLL_LINUX=1 -DLL_OS_DRAGDROP_ENABLED=1 -DCARES_STATICLIB -DLIB_NDOF=1' LL_BUILD_WINDOWS_RELWITHDEBINFO_SWITCHES='/MD /Od /Ob0 /INCREMENTAL /Zc:wchar_t- /Zi /GR /DEBUG /SAFESEH:NO /NODEFAULTLIB:LIBCMT' LL_BUILD_LINUX_DEBUG_SWITCHES='-O0 -g -fPIC' LL_BUILD_LINUX_RELWITHDEBINFO_MACROS='-DLL_LINUX=1 -DLL_OS_DRAGDROP_ENABLED=1 -DCARES_STATICLIB -DLIB_NDOF=1' LL_BUILD_DARWIN_RELEASE_SWITCHES='-O3 -fPIC -gdwarf-2 -stdlib=libc++ -mmacosx-version-min=10.9 -iwithsysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/' LL_BUILD_POSIX_BASE_MACROS='-DLL_OS_DRAGDROP_ENABLED=1 -DCARES_STATICLIB -DLIB_NDOF=1' LL_BUILD_LINUX_BASE='-g -fPIC -DLL_LINUX=1 -DLL_OS_DRAGDROP_ENABLED=1 -DCARES_STATICLIB -DLIB_NDOF=1' LL_BUILD_RELEASE_MACROS='/DLL_RELEASE=1 /DLL_RLEASE_FOR_DOWNLOAD=1 /DNDEBUG /D_SECURE_STL=0 /D_HAS_ITERATOR_DEBUGGING=0 /DWIN32 /D_WINDOWS /DLL_WINDOWS=1 /DUNICODE /D_UNICODE /DWINVER=0x0600 /D_WIN32_WINNT=0x0600 /DLL_OS_DRAGDROP_ENABLED=1 /DCARES_STATICLIB /DLIB_NDOF=1' LL_BUILD_WINDOWS_DEBUG_SWITCHES='/MDd /Od /INCREMENTAL:NO /NODEFAULTLIB:LIBCMTD /NODEFAULTLIB:MSVCRT /Zc:wchar_t- /Zi /GR /DEBUG /SAFESEH:NO /NODEFAULTLIB:LIBCMT' LL_BUILD_DARWIN_BASE_MACROS='-DPIC -DLL_DARWIN=1 -DLL_OS_DRAGDROP_ENABLED=1 -DCARES_STATICLIB -DLIB_NDOF=1' LL_BUILD_DEBUG='/MDd /Od /INCREMENTAL:NO /NODEFAULTLIB:LIBCMTD /NODEFAULTLIB:MSVCRT /Zc:wchar_t- /Zi /GR /DEBUG /SAFESEH:NO /NODEFAULTLIB:LIBCMT /D_DEBUG /DLL_DEBUG=1 /D_SCL_SECURE_NO_WARNINGS=1 /D_SECURE_STL=0 /D_HAS_ITERATOR_DEBUGGING=0 /DWIN32 /D_WINDOWS /DLL_WINDOWS=1 /DUNICODE /D_UNICODE /DWINVER=0x0600 /D_WIN32_WINNT=0x0600 /DLL_OS_DRAGDROP_ENABLED=1 /DCARES_STATICLIB /DLIB_NDOF=1' LL_BUILD_DARWIN_RELEASE_MACROS='-DLL_RELEASE=1 -DLL_RELEASE_FOR_DOWNLOAD=1 -DNDEBUG -DPIC -DLL_DARWIN=1 -DLL_OS_DRAGDROP_ENABLED=1 -DCARES_STATICLIB -DLIB_NDOF=1' LL_BUILD_LINUX_RELWITHDEBINFO_SWITCHES='-O0 -g -fPIC' LL_BUILD_RELEASE_SWITCHES='/MD /O2 /Ob2 /INCREMENTAL:NO /OPT:REF /Zc:wchar_t- /Zi /GR /DEBUG /SAFESEH:NO /NODEFAULTLIB:LIBCMT' LL_BUILD_RELWITHDEBINFO_SWITCHES='/MD /Od /Ob0 /INCREMENTAL /Zc:wchar_t- /Zi /GR /DEBUG /SAFESEH:NO /NODEFAULTLIB:LIBCMT' LL_BUILD_DEBUG_SWITCHES='/MDd /Od /INCREMENTAL:NO /NODEFAULTLIB:LIBCMTD /NODEFAULTLIB:MSVCRT /Zc:wchar_t- /Zi /GR /DEBUG /SAFESEH:NO /NODEFAULTLIB:LIBCMT' LL_BUILD_LINUX_BASE_MACROS='-DLL_LINUX=1 -DLL_OS_DRAGDROP_ENABLED=1 -DCARES_STATICLIB -DLIB_NDOF=1' LL_BUILD_DARWIN_DEBUG_MACROS='-D_DEBUG -DLL_DEBUG=1 -DPIC -DLL_DARWIN=1 -DLL_OS_DRAGDROP_ENABLED=1 -DCARES_STATICLIB -DLIB_NDOF=1' LL_BUILD_WINDOWS_DEBUG_MACROS='/D_DEBUG /DLL_DEBUG=1 /D_SCL_SECURE_NO_WARNINGS=1 /D_SECURE_STL=0 /D_HAS_ITERATOR_DEBUGGING=0 /DWIN32 /D_WINDOWS /DLL_WINDOWS=1 /DUNICODE /D_UNICODE /DWINVER=0x0600 /D_WIN32_WINNT=0x0600 /DLL_OS_DRAGDROP_ENABLED=1 /DCARES_STATICLIB /DLIB_NDOF=1' LL_BUILD_DARWIN_RELWITHDEBINFO_SWITCHES='-O0 -fPIC -gdwarf-2 -stdlib=libc++ -mmacosx-version-min=10.9 -iwithsysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/' LL_BUILD_DEBUG_MACROS='/D_DEBUG /DLL_DEBUG=1 /D_SCL_SECURE_NO_WARNINGS=1 /D_SECURE_STL=0 /D_HAS_ITERATOR_DEBUGGING=0 /DWIN32 /D_WINDOWS /DLL_WINDOWS=1 /DUNICODE /D_UNICODE /DWINVER=0x0600 /D_WIN32_WINNT=0x0600 /DLL_OS_DRAGDROP_ENABLED=1 /DCARES_STATICLIB /DLIB_NDOF=1' LL_BUILD_DARWIN_RELEASE='-O3 -fPIC -gdwarf-2 -stdlib=libc++ -mmacosx-version-min=10.9 -iwithsysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/ -DLL_RELEASE=1 -DLL_RELEASE_FOR_DOWNLOAD=1 -DNDEBUG -DPIC -DLL_DARWIN=1 -DLL_OS_DRAGDROP_ENABLED=1 -DCARES_STATICLIB -DLIB_NDOF=1' LL_BUILD_WINDOWS_RELWITHDEBINFO_MACROS='/DLL_RELEASE=1 /DLL_RELEASE_WITH_DEBUG_INFO=1 /DNDEBUG /D_SECURE_STL=0 /D_HAS_ITERATOR_DEBUGGING=0 /DWIN32 /D_WINDOWS /DLL_WINDOWS=1 /DUNICODE /D_UNICODE /DWINVER=0x0600 /D_WIN32_WINNT=0x0600 /DLL_OS_DRAGDROP_ENABLED=1 /DCARES_STATICLIB /DLIB_NDOF=1' LL_BUILD_DARWIN_RELWITHDEBINFO='-O0 -fPIC -gdwarf-2 -stdlib=libc++ -mmacosx-version-min=10.9 -iwithsysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/ -DLL_RELEASE=1 -DNDEBUG -DLL_RELEASE_WITH_DEBUG_INFO=1 -DPIC -DLL_DARWIN=1 -DLL_OS_DRAGDROP_ENABLED=1 -DCARES_STATICLIB -DLIB_NDOF=1' LL_BUILD_WINDOWS_RELEASE_SWITCHES='/MD /O2 /Ob2 /INCREMENTAL:NO /OPT:REF /Zc:wchar_t- /Zi /GR /DEBUG /SAFESEH:NO /NODEFAULTLIB:LIBCMT' LL_BUILD_LINUX_RELEASE_SWITCHES='-O2 -g -fPIC' LL_BUILD_LINUX_RELEASE_MACROS='-DLL_LINUX=1 -DLL_OS_DRAGDROP_ENABLED=1 -DCARES_STATICLIB -DLIB_NDOF=1' LL_BUILD_BASE_SWITCHES='/Zc:wchar_t- /Zi /GR /DEBUG /SAFESEH:NO /NODEFAULTLIB:LIBCMT' LL_BUILD_DARWIN_DEBUG_SWITCHES='-O0 -fPIC -gdwarf-2 -stdlib=libc++ -mmacosx-version-min=10.9 -iwithsysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/' LL_BUILD_WINDOWS_BASE_MACROS='/D_SECURE_STL=0 /D_HAS_ITERATOR_DEBUGGING=0 /DWIN32 /D_WINDOWS /DLL_WINDOWS=1 /DUNICODE /D_UNICODE /DWINVER=0x0600 /D_WIN32_WINNT=0x0600 /DLL_OS_DRAGDROP_ENABLED=1 /DCARES_STATICLIB /DLIB_NDOF=1' LL_BUILD_WINDOWS_RELWITHDEBINFO='/MD /Od /Ob0 /INCREMENTAL /Zc:wchar_t- /Zi /GR /DEBUG /SAFESEH:NO /NODEFAULTLIB:LIBCMT /DLL_RELEASE=1 /DLL_RELEASE_WITH_DEBUG_INFO=1 /DNDEBUG /D_SECURE_STL=0 /D_HAS_ITERATOR_DEBUGGING=0 /DWIN32 /D_WINDOWS /DLL_WINDOWS=1 /DUNICODE /D_UNICODE /DWINVER=0x0600 /D_WIN32_WINNT=0x0600 /DLL_OS_DRAGDROP_ENABLED=1 /DCARES_STATICLIB /DLIB_NDOF=1' LL_BUILD_WINDOWS_BASE_SWITCHES='/Zc:wchar_t- /Zi /GR /DEBUG /SAFESEH:NO /NODEFAULTLIB:LIBCMT' LL_BUILD_LINUX_DEBUG_MACROS='-DLL_LINUX=1 -DLL_OS_DRAGDROP_ENABLED=1 -DCARES_STATICLIB -DLIB_NDOF=1' LL_BUILD_RELWITHDEBINFO_MACROS='/DLL_RELEASE=1 /DLL_RELEASE_WITH_DEBUG_INFO=1 /DNDEBUG /D_SECURE_STL=0 /D_HAS_ITERATOR_DEBUGGING=0 /DWIN32 /D_WINDOWS /DLL_WINDOWS=1 /DUNICODE /D_UNICODE /DWINVER=0x0600 /D_WIN32_WINNT=0x0600 /DLL_OS_DRAGDROP_ENABLED=1 /DCARES_STATICLIB /DLIB_NDOF=1' LL_BUILD_RELEASE='/MD /O2 /Ob2 /INCREMENTAL:NO /OPT:REF /Zc:wchar_t- /Zi /GR /DEBUG /SAFESEH:NO /NODEFAULTLIB:LIBCMT /DLL_RELEASE=1 /DLL_RLEASE_FOR_DOWNLOAD=1 /DNDEBUG /D_SECURE_STL=0 /D_HAS_ITERATOR_DEBUGGING=0 /DWIN32 /D_WINDOWS /DLL_WINDOWS=1 /DUNICODE /D_UNICODE /DWINVER=0x0600 /D_WIN32_WINNT=0x0600 /DLL_OS_DRAGDROP_ENABLED=1 /DCARES_STATICLIB /DLIB_NDOF=1' LL_BUILD_WINDOWS_RELEASE_MACROS='/DLL_RELEASE=1 /DLL_RLEASE_FOR_DOWNLOAD=1 /DNDEBUG /D_SECURE_STL=0 /D_HAS_ITERATOR_DEBUGGING=0 /DWIN32 /D_WINDOWS /DLL_WINDOWS=1 /DUNICODE /D_UNICODE /DWINVER=0x0600 /D_WIN32_WINNT=0x0600 /DLL_OS_DRAGDROP_ENABLED=1 /DCARES_STATICLIB /DLIB_NDOF=1' LL_BUILD_RELWITHDEBINFO='/MD /Od /Ob0 /INCREMENTAL /Zc:wchar_t- /Zi /GR /DEBUG /SAFESEH:NO /NODEFAULTLIB:LIBCMT /DLL_RELEASE=1 /DLL_RELEASE_WITH_DEBUG_INFO=1 /DNDEBUG /D_SECURE_STL=0 /D_HAS_ITERATOR_DEBUGGING=0 /DWIN32 /D_WINDOWS /DLL_WINDOWS=1 /DUNICODE /D_UNICODE /DWINVER=0x0600 /D_WIN32_WINNT=0x0600 /DLL_OS_DRAGDROP_ENABLED=1 /DCARES_STATICLIB /DLIB_NDOF=1' LL_BUILD_DARWIN_RELWITHDEBINFO_MACROS='-DLL_RELEASE=1 -DNDEBUG -DLL_RELEASE_WITH_DEBUG_INFO=1 -DPIC -DLL_DARWIN=1 -DLL_OS_DRAGDROP_ENABLED=1 -DCARES_STATICLIB -DLIB_NDOF=1' LL_BUILD_DARWIN_BASE_SWITCHES='-fPIC -gdwarf-2 -stdlib=libc++ -mmacosx-version-min=10.9 -iwithsysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/' LL_BUILD_LINUX_DEBUG='-O0 -g -fPIC -DLL_LINUX=1 -DLL_OS_DRAGDROP_ENABLED=1 -DCARES_STATICLIB -DLIB_NDOF=1' LL_BUILD_WINDOWS_RELEASE='/MD /O2 /Ob2 /INCREMENTAL:NO /OPT:REF /Zc:wchar_t- /Zi /GR /DEBUG /SAFESEH:NO /NODEFAULTLIB:LIBCMT /DLL_RELEASE=1 /DLL_RLEASE_FOR_DOWNLOAD=1 /DNDEBUG /D_SECURE_STL=0 /D_HAS_ITERATOR_DEBUGGING=0 /DWIN32 /D_WINDOWS /DLL_WINDOWS=1 /DUNICODE /D_UNICODE /DWINVER=0x0600 /D_WIN32_WINNT=0x0600 /DLL_OS_DRAGDROP_ENABLED=1 /DCARES_STATICLIB /DLIB_NDOF=1' LL_BUILD_DARWIN_DEBUG='-O0 -fPIC -gdwarf-2 -stdlib=libc++ -mmacosx-version-min=10.9 -iwithsysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/ -D_DEBUG -DLL_DEBUG=1 -DPIC -DLL_DARWIN=1 -DLL_OS_DRAGDROP_ENABLED=1 -DCARES_STATICLIB -DLIB_NDOF=1' LL_BUILD_BASE='/Zc:wchar_t- /Zi /GR /DEBUG /SAFESEH:NO /NODEFAULTLIB:LIBCMT /D_SECURE_STL=0 /D_HAS_ITERATOR_DEBUGGING=0 /DWIN32 /D_WINDOWS /DLL_WINDOWS=1 /DUNICODE /D_UNICODE /DWINVER=0x0600 /D_WIN32_WINNT=0x0600 /DLL_OS_DRAGDROP_ENABLED=1 /DCARES_STATICLIB /DLIB_NDOF=1' LL_BUILD_LINUX_BASE_SWITCHES='-g -fPIC' USE_INCREDIBUILD='0' LL_BUILD_DARWIN_BASE='-fPIC -gdwarf-2 -stdlib=libc++ -mmacosx-version-min=10.9 -iwithsysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/ -DPIC -DLL_DARWIN=1 -DLL_OS_DRAGDROP_ENABLED=1 -DCARES_STATICLIB -DLIB_NDOF=1' set_build_variables() { # set_build_variables is a dead branch of the evolutionary tree. The # functionality formerly engaged by the command: # set_build_variables convenience Release # has now been subsumed into autobuild source_environment itself. But # since a number of build-cmd.sh scripts have been tweaked to call # set_build_variables, make it produce an explanatory error. While it # would be simpler to remove the shell function and produce an error # that way, that could leave a developer scrambling to figure out: # okay, this line broke, why? Did set_build_variables go away? Did its # name change? What replaces it? echo "set_build_variables is no longer needed. Pass to autobuild source_environment the pathname of your local clone of the build-variables/variables file, or set AUTOBUILD_VARIABLES_FILE to that pathname before autobuild source_environment, and remove the set_build_variables command. All the same variables will be set." 1>&2 exit 1 } # Usage: # switches="$(remove_switch -DPIC $LL_BUILD)" # It's important NOT to quote whichever compiler-arguments string you pass to # remove_switch (LL_BUILD in the example above), just as it's important not to # quote it when passing it to the compiler itself: bash must parse into # separate tokens. remove_switch() { local todel="$1" shift local out=() for sw do if [ "$sw" != "$todel" ] then # append $sw to out out[${#out[*]}]="$sw" fi done echo "${out[@]}" } # Usage: # switches="$(replace_switch -DPIC -DPOC $LL_BUILD)" # It's important NOT to quote whichever compiler-arguments string you pass to # replace_switch (LL_BUILD in the example above), just as it's important not to # quote it when passing it to the compiler itself: bash must parse into # separate tokens. replace_switch() { local todel="$1" local toins="$2" shift shift echo "$toins $(remove_switch "$todel" "$@")" } fix_dylib_id() { local dylib=$1 local dylink="$dylib" if [ -f "$dylib" ]; then if [ -L "$dylib" ]; then dylib="$(readlink "$dylib")" fi install_name_tool -id "@executable_path/../Resources/$dylib" "$dylib" if [ "$dylib" != "$dylink" ]; then ln -svf "$dylib" "$dylink" fi fi } build_sln() { local solution=$1 local config=$2 local proj="${3:-}" if (($USE_INCREDIBUILD)) ; then BuildConsole "$solution" ${proj:+/PRJ="$proj"} /CFG="$config" else devenv.com "$(cygpath -w "$solution")" /build "$config" ${proj:+/project "$proj"} fi } # function for loading visual studio related env vars load_vsvars() { export DEVENVDIR="C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE" export EXTENSIONSDKDIR="C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1\ExtensionSDKs" export FRAMEWORK40VERSION="v4.0" export FRAMEWORKDIR="C:\Windows\Microsoft.NET\Framework" export FRAMEWORKDIR32="C:\Windows\Microsoft.NET\Framework" export FRAMEWORKVERSION="v4.0.30319" export FRAMEWORKVERSION32="v4.0.30319" export FSHARPINSTALLDIR="C:\Program Files (x86)\Microsoft SDKs\F#\3.1\Framework\v4.0" export INCLUDE="C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE;C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\ATLMFC\INCLUDE;C:\Program Files (x86)\Windows Kits\8.1\include\shared;C:\Program Files (x86)\Windows Kits\8.1\include\um;C:\Program Files (x86)\Windows Kits\8.1\include\winrt;" export LIB="C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\LIB;C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\ATLMFC\LIB;C:\Program Files (x86)\Windows Kits\8.1\lib\winv6.3\um\x86;" export LIBPATH="C:\Windows\Microsoft.NET\Framework\v4.0.30319;C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\LIB;C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\ATLMFC\LIB;C:\Program Files (x86)\Windows Kits\8.1\References\CommonConfiguration\Neutral;C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1\ExtensionSDKs\Microsoft.VCLibs\12.0\References\CommonConfiguration\neutral;" export PATH="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 12.0/Common7/IDE/CommonExtensions/Microsoft/TestWindow:/cygdrive/c/Program Files (x86)/Microsoft SDKs/F#/3.1/Framework/v4.0/:/cygdrive/c/Program Files (x86)/MSBuild/12.0/bin:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 12.0/Common7/IDE/:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 12.0/VC/BIN:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 12.0/Common7/Tools:/cygdrive/c/Windows/Microsoft.NET/Framework/v4.0.30319:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 12.0/VC/VCPackages:/cygdrive/c/Program Files (x86)/HTML Help Workshop:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 12.0/Team Tools/Performance Tools:/cygdrive/c/Program Files (x86)/Windows Kits/8.1/bin/x86:/cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v8.1A/bin/NETFX 4.5.1 Tools/:/cygdrive/c/Users/Bill/Envs/autobuild-1.1/Scripts:/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c/Program Files (x86)/Intel/iCLS Client/:/cygdrive/c/Program Files/Intel/iCLS Client/:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0/:/cygdrive/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/cygdrive/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/cygdrive/c/Program Files/Intel/Intel(R) Management Engine Components/IPT:/cygdrive/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT:/cygdrive/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/cygdrive/c/Program Files/TortoiseHg:/cygdrive/c/Python27:/cygdrive/c/Program Files (x86)/Windows Kits/8.1/Windows Performance Toolkit/:/cygdrive/c/Program Files/Microsoft SQL Server/110/Tools/Binn/:/cygdrive/c/Program Files (x86)/Microsoft SDKs/TypeScript/1.0/:/cygdrive/c/Program Files/Microsoft SQL Server/120/Tools/Binn/:/cygdrive/c/Program Files (x86)/CMake/bin:/cygdrive/c/Python27/Scripts:/usr/bin:/usr/sbin:/cygdrive/c/Program Files (x86)/QuickTime/QTSystem/:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/cygdrive/c/Program Files/TortoiseGit/bin:/cygdrive/c/Program Files/doxygen/bin:/cygdrive/c/Program Files (x86)/Midnight Commander:/cygdrive/c/Users/Bill/AppData/Local/Microsoft/WindowsApps::$PATH" export VCINSTALLDIR="C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC" export VISUALSTUDIOVERSION="12.0" export VSINSTALLDIR="C:\Program Files (x86)\Microsoft Visual Studio 12.0" export WINDOWSSDKDIR="C:\Program Files (x86)\Windows Kits\8.1" export WINDOWSSDK_EXECUTABLEPATH_X64="C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools\x64" export WINDOWSSDK_EXECUTABLEPATH_X86="C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools" } if ! (($USE_INCREDIBUILD)) ; then load_vsvars fi ********************************************************************* The environment has no LL_BUILD variables. On Thu, Jan 5, 2017 at 4:29 PM, Nat Goodspeed <n...@lindenlab.com> wrote: > On Thu, Jan 5, 2017 at 4:41 PM, Nicky Perian <nickyper...@gmail.com> > wrote: > > >>I do not have enough information to know where in your build environment >> the disconnect lies. >> autobuild source_environment 2>&1 |c:\cygwin64\bin\tee configRel.log >> autobuild --address-size=64 configure -c ReleaseOS -- >> -DCMAKE_VERBOSE_MAKEFILE:BOOL=FALSE -DLL_TESTS:BOOL=OFF >> -DPACKAGE:BOOL=FALSE -DOPENAL:BOOL=FALSE -DFMODEX:BOOL=TRUE 2>&1 >> |c:\cygwin64\bin\tee -a configRel.log >> > > I could be misinterpreting; you could simply be running the above commands > for purposes of creating this mail message. But if this is the command > sequence you actually use to configure and build, then autobuild > source_environment is not affecting the running environment. > > autobuild source_environment does not (cannot) directly modify the parent > shell's environment variables. It simply writes to its stdout a sequence of > variable assignments in bash syntax to be interpreted by the parent shell. > > You can achieve that either by something like: > > eval "$(autobuild source_environment)" > > or something more like: > > varsfile="$(mktemp -t vars.XXXXXXXX)" > autobuild source_environment > "$varsfile" > source "$varsfile" > > You might consider temporarily adding a command such as: > > echo "LL_BUILD = '$LL_BUILD'" > > to ensure that the autobuild source_environment command is in fact having > the desired effect. >
_______________________________________________ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/OpenSource-Dev Please read the policies before posting to keep unmoderated posting privileges