openubmc-bingo 0.6.43__py3-none-any.whl → 0.6.45__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
bmcgo/__init__.py CHANGED
@@ -9,4 +9,4 @@
9
9
  # MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
10
10
  # See the Mulan PSL v2 for more details.
11
11
 
12
- __version__ = '0.6.43'
12
+ __version__ = '0.6.45'
@@ -368,8 +368,8 @@ class ConanBase(ConanFile):
368
368
  asan_flags = "-fsanitize=address -fsanitize-recover=address,all -fno-omit-frame-pointer -fno-stack-protector -O0"
369
369
  tc.extra_cflags.append(asan_flags)
370
370
  tc.extra_cxxflags.append(asan_flags)
371
- tc.extra_sharedlinkflag.append("LDFLAGS", "-fsanitize=address")
372
- tc.extra_exelinkflag.append("LDFLAGS", "-fsanitize=address")
371
+ tc.extra_sharedlinkflags.append("-fsanitize=address")
372
+ tc.extra_exelinkflags.append("-fsanitize=address")
373
373
 
374
374
  # GCOV 标志设置
375
375
  if self.options.get_safe("gcov", False):
bmcgo/utils/config.py CHANGED
@@ -811,19 +811,17 @@ class Config:
811
811
  if os.path.isdir(self.temp_platform_build_dir):
812
812
  shutil.rmtree(self.temp_platform_build_dir)
813
813
  os.makedirs(os.path.join(self.code_path, "temp"), exist_ok=True)
814
- mainfest_buildtools_file = os.path.realpath(os.path.join(
815
- self.code_path, self.get_manufacture_config("base/dependency_buildtools")
816
- ))
817
- temp_buildtools_file = os.path.realpath(os.path.join(
818
- self.temp_platform_build_dir, self.get_manufacture_config("base/dependency_buildtools")
819
- ))
820
814
  tools.run_command(f"cp -rf {package_conan_dir} {self.temp_platform_build_dir}")
821
- if self.manifest_sdk_flag:
822
- if os.path.isfile(mainfest_buildtools_file):
823
- tools.run_command(f"cp {mainfest_buildtools_file} {os.path.dirname(temp_buildtools_file)}")
815
+ # 检查产品是否申明dependency_buildtools配置项,如果存在则需要复制到platform临时目录
816
+ build_tools = self.get_manufacture_config("base/dependency_buildtools")
817
+ if build_tools:
818
+ manifest_buildtools_file = os.path.realpath(os.path.join(self.code_path, build_tools))
819
+ temp_buildtools_file = os.path.realpath(os.path.join(self.temp_platform_build_dir, build_tools))
820
+ if os.path.isfile(manifest_buildtools_file):
821
+ tools.run_command(f"cp {manifest_buildtools_file} {os.path.dirname(temp_buildtools_file)}")
824
822
  else:
825
- raise errors.BmcGoException("manifest.yaml中未配置base/dependency_buildtools" +
826
- "或在manifest代码仓下无法找到所配置的文件")
823
+ raise errors.BmcGoException("manifest.yaml中配置的 base/dependency_buildtools文件 " +
824
+ f"'{manifest_buildtools_file}'不存在")
827
825
  self.copy_rtos_sdk(package_conan_dir)
828
826
  platform_manifest_path = os.path.join(
829
827
  self.temp_platform_build_dir, "manifest.yml"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: openubmc-bingo
3
- Version: 0.6.43
3
+ Version: 0.6.45
4
4
  Summary: Tools provided by openubmc
5
5
  Home-page: https://openubmc.cn
6
6
  Classifier: Programming Language :: Python :: 3
@@ -1,4 +1,4 @@
1
- bmcgo/__init__.py,sha256=BJa5lG5w1ONn8K63XashMcH9wCq2YZOssQ7u8IX48_A,562
1
+ bmcgo/__init__.py,sha256=mZO7QbjOEmOIGY9TDOMXwyrSCjIs_sv1oyRnSmUe8Gs,562
2
2
  bmcgo/bmcgo.py,sha256=uD4TsfjrFB5aQPIS6WRUVc9ShXX-dSImY9ezkB13g1w,685
3
3
  bmcgo/bmcgo_config.py,sha256=-HZcTsnccE5wUsgGJ59kq8sDdu8feftIbpyoFvyvBhU,11264
4
4
  bmcgo/errors.py,sha256=QW1ndrJcJ2Ws7riOznPKVvZsNlrYk73eZol7w8gJTPU,3076
@@ -190,7 +190,7 @@ bmcgo/component/coverage/c_incremental_cov_report.template,sha256=FPhK1DZtmWsjDx
190
190
  bmcgo/component/coverage/incremental_cov.py,sha256=Uf-UdY4CW9rpP4sbURkCXBWyYMXWaG3R1Pyo3cDNvcQ,16859
191
191
  bmcgo/component/template/conanbase.py.mako,sha256=dNvbToMSYI7jod7maCpR0PBizvVoQHvXxglmN9LNflg,10984
192
192
  bmcgo/component/template/conanfile.deploy.py.mako,sha256=zpxluBjUFmJHfFrnBknxZ3cv3cxcqzJuGh2eN0uMXZA,889
193
- bmcgo/component/template_v2/conanbase.py.mako,sha256=FA_oKwp3fVC2MsZLiTZWHVeLpLEGkoRYmqhWWZ7EQM4,15768
193
+ bmcgo/component/template_v2/conanbase.py.mako,sha256=H0yO-uijpENtujj_1u037U2mZyy_ykdkV9hkj3mFuV4,15748
194
194
  bmcgo/component/template_v2/conanfile.deploy.py.mako,sha256=Xbd-PlfVHOWeRFLfvzINeykiZzzSHsgO_yUUvYrKqTw,512
195
195
  bmcgo/functional/__init__.py,sha256=BDXz8BcSlCkfo5UYt6j2rm89-HiYA1ZzfpFhy99MH-0,538
196
196
  bmcgo/functional/analysis.py,sha256=pXakxSojBH-dULngbmgMHR3bq9tphOaAN4euGKgEYoc,4016
@@ -245,7 +245,7 @@ bmcgo/utils/build_conans.py,sha256=3afY0XOwFtfcKud2yp6nODIuPoMKjjsoAl5AV8GbJ6w,8
245
245
  bmcgo/utils/combine_json_schemas.py,sha256=08JrAlLeo_JgUqzYcZNgSwJZPLfjbWVJ4esPPt9bPMY,7967
246
246
  bmcgo/utils/component_post.py,sha256=rTSMv36geI6rbm6ZFQenZfG0mn1nVPpdJqn7g8bYtKA,2330
247
247
  bmcgo/utils/component_version_check.py,sha256=nKfav7EnJ_JWfCvH_SiyhhIapGXUzhFs1QvLb58MPBs,6266
248
- bmcgo/utils/config.py,sha256=RMrZV39x6q445LdCDnCM1CIoslrIy9FGN4Kp6uV3VRM,50915
248
+ bmcgo/utils/config.py,sha256=QFhPR_ndHLrEcdhFP4X8zRNChEl8cIw4rC2W1wQqaec,50989
249
249
  bmcgo/utils/fetch_component_code.py,sha256=WtPJ5h1nM87X6RicrAhMOJzOzh9A0jD3CbjPc4A-REo,11280
250
250
  bmcgo/utils/install_manager.py,sha256=XMZUuIHm7_DWRdLV4dAevsyamQ6rt8lb_7OqGWzNBC8,4927
251
251
  bmcgo/utils/json_validator.py,sha256=_k5wU78wfYGrzvSDaqOEtT4otgKUjquVhZNpVf2PW_c,7524
@@ -264,8 +264,8 @@ bmcgo/utils/installations/install_plans/qemu.yml,sha256=lT7aKag60QUH6hTGFKa3hGRq
264
264
  bmcgo/utils/installations/install_plans/studio.yml,sha256=APR3GM-3Q11LFfe8vh7t3LztDn4LLEpNHRUNjkaVekA,143
265
265
  bmcgo/utils/installations/installers/apt_installer.py,sha256=nPaCb4cobSi9InN_aHsEPtQ0k4FgsCUWE5_VgBPvcRE,3769
266
266
  bmcgo/utils/installations/installers/pip_installer.py,sha256=dDdios1EQ7fzt90r02pZeoM3jCmjslLzkSvzd2hgRVM,3241
267
- openubmc_bingo-0.6.43.dist-info/METADATA,sha256=i8-bjBQtmM-9IHzXefAEDynKZYHKk4Cog334a6pvmkE,1010
268
- openubmc_bingo-0.6.43.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
269
- openubmc_bingo-0.6.43.dist-info/entry_points.txt,sha256=UUoUP-vAWTgg9vEYbRwYqOBHgpRtkngdzMPb-ocz90g,42
270
- openubmc_bingo-0.6.43.dist-info/top_level.txt,sha256=9AcvCAt1nZcOgMsGt6T07mg2Bgtdet-3mHTwg91axgI,6
271
- openubmc_bingo-0.6.43.dist-info/RECORD,,
267
+ openubmc_bingo-0.6.45.dist-info/METADATA,sha256=_QIlG518-b-B2F7q04ZxXvfCltkLp_fw5j-7H5kwGvk,1010
268
+ openubmc_bingo-0.6.45.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
269
+ openubmc_bingo-0.6.45.dist-info/entry_points.txt,sha256=UUoUP-vAWTgg9vEYbRwYqOBHgpRtkngdzMPb-ocz90g,42
270
+ openubmc_bingo-0.6.45.dist-info/top_level.txt,sha256=9AcvCAt1nZcOgMsGt6T07mg2Bgtdet-3mHTwg91axgI,6
271
+ openubmc_bingo-0.6.45.dist-info/RECORD,,