View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001391 | OpenFOAM | Bug | public | 2014-09-07 19:20 | 2014-09-10 15:48 |
Reporter | Assigned To | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Platform | Intel Core | OS | Debian GNU/Linux Jessie (amd64) | OS Version | Jessie/testing |
Summary | 0001391: WM_CC and WM_CXX ignored | ||||
Description | While compiling git snapshot (03.09.2014) with clang 3.5, I had to set explicitly clang compiler version in etc/config/settings.sh: Clang) # using clang - not gcc export WM_CC='clang-3.5' export WM_CXX='clang++-3.5' clang_version=llvm-3.5 ;; It's OK, just custom setting. But after that the compilation failed. Editing of following files helped: wmake/rules/linux64Clang/c cc = clang-3.5 -m64 wmake/rules/linux64Clang/c++ CC = clang++-3.5 -m64 | ||||
Tags | No tags attached. | ||||
|
You could add a new WM_COMPILER type. This would enforce you to create a new set of rules as well. |
|
Thanks for suggestion. If I understand correctly you mean it as a better solution for specifying a particular version of clang compiler (instead of using system default one), while the original issue still remains? |
|
The WM_CC, WM_CXX are for use in non-wmake (e.g. ThirdParty) compilations. wmake uses the WM_COMPILER to select a compiler+options. |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-09-07 19:20 |
|
New Issue | |
2014-09-09 10:52 |
|
Note Added: 0003229 | |
2014-09-09 16:37 |
|
Note Added: 0003231 | |
2014-09-10 15:47 |
|
Note Added: 0003232 | |
2014-09-10 15:48 |
|
Status | new => resolved |
2014-09-10 15:48 |
|
Resolution | open => no change required |
2014-09-10 15:48 |
|
Assigned To | => user4 |