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


Date: Mon, 28 Dec 2015 20:05:36 +0000
From: John M Knoeller <johnkn@xxxxxxxxxxx>
Subject: Re: [HTCondor-devel] Problems building htcondor on Windows
There is no interest in making the change,  the old cmake is still available and suits our needs
And we don't actually know how long it would take to find and fix all of the bugs introduced
By the change - 

And If we did switch to support the new cmake, anyone who wanted to build older versions
Of HTCondor would still have to install the older cmake. 

What we need is to have our cmake files work with either version, but at least two of us have 
tried and failed to achieve that (or gave up because of the time involved anyway).

-----Original Message-----
From: HTCondor-devel [mailto:htcondor-devel-bounces@xxxxxxxxxxx] On Behalf Of Ziliang Guo
Sent: Thursday, December 24, 2015 4:22 PM
To: htcondor-devel@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=BuildingHtcondorOnW
> indowsVsNine
>
> 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=BuildingHtcondorOnW
> indows
>
> Hope the above helps
> Todd
>
> _______________________________________________
> HTCondor-devel mailing list
> HTCondor-devel@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/htcondor-devel
_______________________________________________
HTCondor-devel mailing list
HTCondor-devel@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-devel
[← Prev in Thread] Current Thread [Next in Thread→]