http://llvm.org/bugs/show_bug.cgi?id=6540
Summary: make check fails as ENABLE_SHARED is not set at all.
Product: Build scripts
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: cmake
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Executing "make check" in my build directory fails with this:
-------------------------------------------------------------------------------
Running LLVM regression tests
Traceback (most recent call last):
File "/home/grosser/Projekte/llvm/git/utils/lit/lit.py", line 5, in <module>
lit.main()
File "/home/grosser/Projekte/llvm/git/utils/lit/lit/lit.py", line 446, in
main
testSuiteCache, localConfigCache)[1])
File "/home/grosser/Projekte/llvm/git/utils/lit/lit/lit.py", line 281, in
getTestsInSuite
testSuiteCache, localConfigCache)
File "/home/grosser/Projekte/llvm/git/utils/lit/lit/lit.py", line 230, in
getTests
ts,path_in_suite = getTestSuite(path, litConfig, testSuiteCache)
File "/home/grosser/Projekte/llvm/git/utils/lit/lit/lit.py", line 199, in
getTestSuite
ts, relative = search(item)
File "/home/grosser/Projekte/llvm/git/utils/lit/lit/lit.py", line 183, in
search
cache[path] = res = search1(path)
File "/home/grosser/Projekte/llvm/git/utils/lit/lit/lit.py", line 174, in
search1
cfg = TestingConfig.frompath(cfgpath, None, litConfig, mustExist = True)
File "/home/grosser/Projekte/llvm/git/utils/lit/lit/TestingConfig.py", line
43, in frompath
exec f in cfg_globals
File "/home/grosser/Projekte/llvm/build/test/Unit/lit.site.cfg", line 8
config.enable_shared = @ENABLE_SHARED@
^
SyntaxError: invalid syntax
gmake[3]: *** [test/CMakeFiles/check] Error 1
gmake[2]: *** [test/CMakeFiles/check.dir/all] Error 2
gmake[1]: *** [test/CMakeFiles/check.dir/rule] Error 2
gmake: *** [check] Error 2
-------------------------------------------------------------------------------
When config.enable_shared was introduced CMAKE was probably forgotten.
Here the interesting change:
--------------------
https://llvm.org/svn/llvm-project/llvm/tr...@97119
Author: Jeffrey Yasskin <[email protected]>
Date: Thu Feb 25 06:34:33 2010 +0000
Try r96559 for the third time. This time the shared library is only built if
--enable-shared is passed to configure.
--------------------
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs