[jira] [Commented] (THRIFT-3072) Build in separate directory

2015-04-02 Thread James E. King, III (JIRA)

[ 
https://issues.apache.org/jira/browse/THRIFT-3072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14393196#comment-14393196
 ] 

James E. King, III commented on THRIFT-3072:


cmake facilitates this quite nicely.  I have many years experience with it and 
ctest (but not so much with cpack).  If there is a separate cmake issue in Jira 
this could be moved as a subtask of that, or the essence of this put into the 
requirements for a cmake implementation.  The existing implementation could be 
made to work this way too.  Projects like glibc (or is it gcc?  I forget which) 
force configure to be ran outside of the source directory.

 Build in separate directory
 ---

 Key: THRIFT-3072
 URL: https://issues.apache.org/jira/browse/THRIFT-3072
 Project: Thrift
  Issue Type: Improvement
  Components: Build Process
Affects Versions: 0.9.2
Reporter: James E. King, III

 The thrift build environment leverages .gitignore extensively to allow for 
 [builds in the same 
 directory|http://wiki.apache.org/thrift/ThriftInstallation] as the source.  
 It would be preferable to allow for an external build directory such that the 
 source directory could be read-only.  This would allow for an extensive 
 simplification of .gitignore and easier cleanup of builds, and maintain a 
 pristine source directory.
 {code}
 ~/thrift$ cd ..
 ~$ cd thrift-build
 ~/thrift-build$ ../thrift/bootstrap.sh 
 ../thrift/bootstrap.sh: 22: ../thrift/bootstrap.sh: ./cleanup.sh: not found
 aclocal: error: 'configure.ac' is required
 {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (THRIFT-3072) Build in separate directory

2015-04-02 Thread Randy Abernethy (JIRA)

[ 
https://issues.apache.org/jira/browse/THRIFT-3072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14393144#comment-14393144
 ] 

Randy Abernethy commented on THRIFT-3072:
-

I agree. While it has not been taken to a vote yet, it appears there is strong 
momentum for conversion to cmake. This would be a nice feature to have in the 
v1.0 build solution either way.

 Build in separate directory
 ---

 Key: THRIFT-3072
 URL: https://issues.apache.org/jira/browse/THRIFT-3072
 Project: Thrift
  Issue Type: Improvement
  Components: Build Process
Affects Versions: 0.9.2
Reporter: James E. King, III

 The thrift build environment leverages .gitignore extensively to allow for 
 [builds in the same 
 directory|http://wiki.apache.org/thrift/ThriftInstallation] as the source.  
 It would be preferable to allow for an external build directory such that the 
 source directory could be read-only.  This would allow for an extensive 
 simplification of .gitignore and easier cleanup of builds, and maintain a 
 pristine source directory.
 {code}
 ~/thrift$ cd ..
 ~$ cd thrift-build
 ~/thrift-build$ ../thrift/bootstrap.sh 
 ../thrift/bootstrap.sh: 22: ../thrift/bootstrap.sh: ./cleanup.sh: not found
 aclocal: error: 'configure.ac' is required
 {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)