search for: compile_options

Displaying 18 results from an estimated 18 matches for "compile_options".

2014 Feb 13
3
[LLVMdev] cmake/ninja build failing
Well, I updated to cmake 2.8.12.2 but the result of changing that COMPILE_FLAGS to COMPILE_OPTIONS is that quotes are applied incorrectly: quotes are added surrounding the entire set of flags rather than around each individual item in the list. Obviously the build doesn't work (with the compiler looking for files named " -m64 ... ") but checking the relevant build command in build....
2014 Feb 12
2
[LLVMdev] cmake/ninja build failing
A couple of llvm sub-projects have been failing to build for me for a while (compiler-rt asan and util/unittests, at least). It turns out to be due to the fact that some paths on my system include spaces and other special characters, but the the build.ninja file was not generated with correctly quoted strings. Specifically I'm on OS X and the command is setting -isysroot to a location inside
2012 Dec 05
0
[LLVMdev] [RFC] Passing Options to Different Parts of the Compiler Using Attributes
On Nov 26, 2012, at 3:20 PM, Bill Wendling wrote: >> 4. Do we really want the attribute references limited to a number? Code will be more readable >> if you can use actual names that indicate the intent. For example: >> >> attrgroup #compile_options = { … } >> void @foo attrgroup(#compile_options) >> > The problem with this is it limits the number of attribute groups to a specific set -- compile options, non-compile options, etc.. There could be many different attribute groups involved, especially during LTO. I realize t...
2012 Nov 26
3
[LLVMdev] [RFC] Passing Options to Different Parts of the Compiler Using Attributes
...ll be represented internally to LLVM. Let me know if you have strong objections to this. > 4. Do we really want the attribute references limited to a number? Code will be more readable > if you can use actual names that indicate the intent. For example: > > attrgroup #compile_options = { … } > void @foo attrgroup(#compile_options) > The problem with this is it limits the number of attribute groups to a specific set -- compile options, non-compile options, etc.. There could be many different attribute groups involved, especially during LTO. I realize that the name...
2012 Nov 21
1
[LLVMdev] [RFC] Passing Options to Different Parts of the Compiler Using Attributes
...le: > > void @foo attrgroup(#1) alwaysinline attrgroup(#2) nounwind > > 4. Do we really want the attribute references limited to a number? Code will be more readable > if you can use actual names that indicate the intent. For example: > > attrgroup #compile_options = { … } > void @foo attrgroup(#compile_options) > > 5. Can attributes be nested? For example: > > attrgroup #1 = { foo, bar } > attrgroup #2 = { #1, baz } > > Might be nice. > > 6. Do we really need to specify the attrgroup keywo...
2012 Nov 20
0
[LLVMdev] [RFC] Passing Options to Different Parts of the Compiler Using Attributes
...nter-mixed? For example: void @foo attrgroup(#1) alwaysinline attrgroup(#2) nounwind 4. Do we really want the attribute references limited to a number? Code will be more readable if you can use actual names that indicate the intent. For example: attrgroup #compile_options = { … } void @foo attrgroup(#compile_options) 5. Can attributes be nested? For example: attrgroup #1 = { foo, bar } attrgroup #2 = { #1, baz } Might be nice. 6. Do we really need to specify the attrgroup keyword twice? (Once in the group definition and on...
2012 Nov 13
9
[LLVMdev] [RFC] Passing Options to Different Parts of the Compiler Using Attributes
Hi! This is a proposal to expand the Attributes class to support many different options that will be accessible by all parts of the compiler. Please read and give any feedback you may have. Thanks! -bw Passing Options to Different Parts of the Compiler Problem ======= There is a growing need to pass information from the front-end to different parts of the compiler, especially
2020 Mar 26
12
Upgrading LLVM's minimum required CMake version
...sources as long as target_sources() is used later * target_compile_{definitions,features,options}, target_include_directories(), target_sources(), and target_link_libraries() can set the corresponding INTERFACE_* properties on imported targets * COMPILE_DEFINITIONS supports generator expressions * COMPILE_OPTIONS source file property added * INCLUDE_DIRECTORIES source file property added * Interface libraries support custom properites CMake 3.12 (released July 17th 2018): * add_compile_definitions() added to add compile definitions for targets (to avoid the global pollution caused by add_definitions()) * c...
2020 Mar 26
4
Upgrading LLVM's minimum required CMake version
...sources() is used later >> * target_compile_{definitions,features,options}, target_include_directories(), target_sources(), and target_link_libraries() can set the corresponding INTERFACE_* properties on imported targets >> * COMPILE_DEFINITIONS supports generator expressions >> * COMPILE_OPTIONS source file property added >> * INCLUDE_DIRECTORIES source file property added >> * Interface libraries support custom properites >> >> CMake 3.12 (released July 17th 2018): >> * add_compile_definitions() added to add compile definitions for targets (to avoid the globa...
2020 Apr 02
2
Upgrading LLVM's minimum required CMake version
...sources as long as target_sources() is used later * target_compile_{definitions,features,options}, target_include_directories(), target_sources(), and target_link_libraries() can set the corresponding INTERFACE_* properties on imported targets * COMPILE_DEFINITIONS supports generator expressions * COMPILE_OPTIONS source file property added * INCLUDE_DIRECTORIES source file property added * Interface libraries support custom properites CMake 3.12 (released July 17th 2018): * add_compile_definitions() added to add compile definitions for targets (to avoid the global pollution caused by add_definitions()) * c...
2020 Apr 02
2
Upgrading LLVM's minimum required CMake version
...sources as long as target_sources() is used later * target_compile_{definitions,features,options}, target_include_directories(), target_sources(), and target_link_libraries() can set the corresponding INTERFACE_* properties on imported targets * COMPILE_DEFINITIONS supports generator expressions * COMPILE_OPTIONS source file property added * INCLUDE_DIRECTORIES source file property added * Interface libraries support custom properites CMake 3.12 (released July 17th 2018): * add_compile_definitions() added to add compile definitions for targets (to avoid the global pollution caused by add_definitions()) * c...
2020 Mar 26
2
Upgrading LLVM's minimum required CMake version
...sources as long as target_sources() is used later * target_compile_{definitions,features,options}, target_include_directories(), target_sources(), and target_link_libraries() can set the corresponding INTERFACE_* properties on imported targets * COMPILE_DEFINITIONS supports generator expressions * COMPILE_OPTIONS source file property added * INCLUDE_DIRECTORIES source file property added * Interface libraries support custom properites CMake 3.12 (released July 17th 2018): * add_compile_definitions() added to add compile definitions for targets (to avoid the global pollution caused by add_definitions()) * c...
2020 Apr 08
3
Upgrading LLVM's minimum required CMake version
...sources() is used later >> * target_compile_{definitions,features,options}, target_include_directories(), target_sources(), and target_link_libraries() can set the corresponding INTERFACE_* properties on imported targets >> * COMPILE_DEFINITIONS supports generator expressions >> * COMPILE_OPTIONS source file property added >> * INCLUDE_DIRECTORIES source file property added >> * Interface libraries support custom properites >> >> CMake 3.12 (released July 17th 2018): >> * add_compile_definitions() added to add compile definitions for targets (to avoid the glob...
2020 Apr 04
3
Upgrading LLVM's minimum required CMake version
...le_{definitions,features,options}, > target_include_directories(), target_sources(), and > target_link_libraries() can set the corresponding INTERFACE_* > properties on imported targets > * COMPILE_DEFINITIONS supports generator expressions > * COMPILE_OPTIONS source file property added > * INCLUDE_DIRECTORIES source file property added > * Interface libraries support custom properites > > CMake 3.12 (released July 17th 2018): > * add_compile_definitions() added to add compile definitions > for ta...
2020 Apr 06
5
Upgrading LLVM's minimum required CMake version
...sources as long as target_sources() is used later * target_compile_{definitions,features,options}, target_include_directories(), target_sources(), and target_link_libraries() can set the corresponding INTERFACE_* properties on imported targets * COMPILE_DEFINITIONS supports generator expressions * COMPILE_OPTIONS source file property added * INCLUDE_DIRECTORIES source file property added * Interface libraries support custom properites CMake 3.12 (released July 17th 2018): * add_compile_definitions() added to add compile definitions for targets (to avoid the global pollution caused by add_definitions()) * c...
2020 Apr 07
2
Upgrading LLVM's minimum required CMake version
...sources as long as target_sources() is used later * target_compile_{definitions,features,options}, target_include_directories(), target_sources(), and target_link_libraries() can set the corresponding INTERFACE_* properties on imported targets * COMPILE_DEFINITIONS supports generator expressions * COMPILE_OPTIONS source file property added * INCLUDE_DIRECTORIES source file property added * Interface libraries support custom properites CMake 3.12 (released July 17th 2018): * add_compile_definitions() added to add compile definitions for targets (to avoid the global pollution caused by add_definitions()) * c...
2020 Apr 07
3
Upgrading LLVM's minimum required CMake version
...later >> * target_compile_{definitions,features,options}, >> target_include_directories(), target_sources(), and target_link_libraries() >> can set the corresponding INTERFACE_* properties on imported targets >> * COMPILE_DEFINITIONS supports generator expressions >> * COMPILE_OPTIONS source file property added >> * INCLUDE_DIRECTORIES source file property added >> * Interface libraries support custom properites >> >> CMake 3.12 (released July 17th 2018): >> * add_compile_definitions() added to add compile definitions for targets >> (to avoid...
2020 Apr 08
3
Upgrading LLVM's minimum required CMake version
...g as target_sources() is used later > * target_compile_{definitions,features,options}, target_include_directories(), target_sources(), and target_link_libraries() can set the corresponding INTERFACE_* properties on imported targets > * COMPILE_DEFINITIONS supports generator expressions > * COMPILE_OPTIONS source file property added > * INCLUDE_DIRECTORIES source file property added > * Interface libraries support custom properites > > CMake 3.12 (released July 17th 2018): > * add_compile_definitions() added to add compile definitions for targets (to avoid the global pollution caused...