openUBMC HAL V0.1
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | 静态 Public 属性 | Protected 成员函数 | 静态 Protected 属性 | 所有成员列表
conanbase.ConanBase类 参考
类 conanbase.ConanBase 继承关系图:
Inheritance graph
[图例]
conanbase.ConanBase 的协作图:
Collaboration graph
[图例]

Public 成员函数

 layout (self)
 
 requirements (self)
 
 export (self)
 
 source (self)
 
 generate (self)
 
 build (self)
 
 package (self)
 
 compile_files (self, root, files, executor)
 
 check_luajit_support_deterministic (self)
 
 compile_file (self, file_path, enable_luajit)
 
 package_info (self)
 
 find_libraries (self, root, file)
 

Public 属性

 recipe_folder
 
 export_folder
 
 source_folder
 
 package_folder
 
 compile_file
 

静态 Public 属性

str name = "bcal"
 
str version = "0.0.1"
 
str settings = "os", "compiler", "build_type", "arch"
 
str license = "Mulan PSL v2"
 
str generators = "CMakeDeps", "VirtualBuildEnv", "PkgConfigDeps"
 
str language = "lua"
 
dict options
 
dict default_options
 

Protected 成员函数

 _configure_cmake (self)
 
 _pre_generate (self)
 

静态 Protected 属性

 _cmake = None
 
int _codegen_version = 3
 

成员函数说明

◆ check_luajit_support_deterministic()

conanbase.ConanBase.check_luajit_support_deterministic (   self)
检查luajit版本是否支持-d选项

从 self.conf.get("user.tools:luajit") 获取版本信息
格式示例: luajit/2.1.0.b015@openubmc/stable

规则: 只有版本号为 2.1.0.b015、2.1.0.b016、2.1.0.b017 时不支持-d选项
其他版本都支持-d选项

类成员变量说明

◆ default_options

dict conanbase.ConanBase.default_options
static
初始值:
= {
"asan": False,
"gcov": False,
"test": False,
"manufacture": False,
"enable_luajit": False,
}

◆ options

dict conanbase.ConanBase.options
static
初始值:
= {
"asan": [True, False],
"gcov": [True, False],
"test": [True, False],
"manufacture": [True, False],
"enable_luajit": [True, False],
}

该类的文档由以下文件生成: