Issue 59 in casacore: inconsistent usage of USE_THREADS in Cmake

0 views
Skip to first unread message

casa...@googlecode.com

unread,
May 2, 2013, 5:43:56 PM5/2/13
to casacor...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium Milestone-Release1.4

New issue 59 by teu...@gmail.com: inconsistent usage of USE_THREADS in Cmake
http://code.google.com/p/casacore/issues/detail?id=59

On a MAC (hate to admit I was using it)
I was getting this mysterious message from cmake :
Don't know how to enable thread support for /usr/bin/cc
which I resolved by wrapping the section starting at line 158
(where #Thread Support is tested)
in the CMakeLists.txt file with
if(USE_THREADS)
...
endif(USE_THREADS)

I suspect this portion of checking the threads library is broken
on mac.But the CmakeLists.txt is also broken in the sense that
it doesn't honer the USE_THREADS directive properly.
After I fixed this, installation on this mac (10.8 with gcc 4.2.1)
worked.


--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

casa...@googlecode.com

unread,
May 2, 2013, 5:46:19 PM5/2/13
to casacor...@googlegroups.com

Comment #1 on issue 59 by teu...@gmail.com: inconsistent usage of
FYI i was using the 1.5.0 release.

casa...@googlecode.com

unread,
Nov 18, 2014, 2:11:36 AM11/18/14
to casacor...@googlegroups.com
Updates:
Status: Fixed
Owner: gervandi...@gmail.com

Comment #2 on issue 59 by gervandi...@gmail.com: inconsistent usage of
USE_THREADS in Cmake
https://code.google.com/p/casacore/issues/detail?id=59

(No comment was entered for this change.)
Reply all
Reply to author
Forward
0 new messages