Re: [HTCondor-devel] Problems building htcondor on Windows


Date: Thu, 24 Dec 2015 16:21:40 -0600
From: Ziliang Guo <ziliang@xxxxxxxxxxx>
Subject: Re: [HTCondor-devel] Problems building htcondor on Windows
So out of curiosity, is the dependency on CMake 2.x because of the
lack of support on Linux platforms, or just lack of time to make the
changeover?

On Tue, Dec 22, 2015 at 2:23 PM, Todd Tannenbaum <tannenba@xxxxxxxxxxx> wrote:
> On 12/22/2015 9:29 AM, Rowe, Thomas wrote:
>
>> Can anyone report building HtCondor from scratch on Windows with
>> CMake and Visual Studio without error? Is there something obvious I'm
>> missing? How exactly is the build system that produces the Windows
>> installer set up?
>
>
> I build HTCondor on my Windows laptop all the time.  FWIW, my laptop is
> Windows 7 and I have Visual Studio 2008 Professional installed (yes, I need
> to upgrade soon).
>
> I pretty much followed the VS2008 build instructions here:
>
> https://htcondor-wiki.cs.wisc.edu/index.cgi/wiki?p=BuildingHtcondorOnWindowsVsNine
>
> I use CMake 2.8.6.  You will note that the wiki says to NOT use cmake 3.x,
> since cmake 3.x broke compatibility with cmake 2.x.  I think some of the
> problems you are encountering could be because you are using an incompatible
> CMake version.
>
> I almost always just do the "default" cmake build on Windows, i.e. I do not
> bother with customizing the cmake options.  I think the default is to not
> build the regression test programs.
>
> I definitely did the "optional" step #5 on the above wiki page of setting
> the CONDOR_BLD_EXTERNAL_STAGE environment variable, which prevents having to
> rebuild things like boost and over and over.   Set this environment variable
> and re-run CMake, then do a build.  All the downloaded source and compiled
> object files should then live inside auto-generated subdirectories in your
> CONDOR_BLD_EXTERNAL_STAGE folder.  Now re-run CMake again so it notices
> everything is pre-staged (and precompiled), and you should be able to build
> quickly while offline (iirc I have built HTCondor on Windows while on an
> airplane).
>
> Note for VS2012 you prolly wanna follow the instructions here:
> https://htcondor-wiki.cs.wisc.edu/index.cgi/wiki?p=BuildingHtcondorOnWindows
>
> Hope the above helps
> Todd
>
> _______________________________________________
> HTCondor-devel mailing list
> HTCondor-devel@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/htcondor-devel
[← Prev in Thread] Current Thread [Next in Thread→]