Lines Matching full:build
13 build = confu.Build.from_options(options)
20 if build.target.is_linux or build.target.is_android:
23 build.export_cpath("include", ["cpuinfo.h"])
25 …with build.options(source_dir="src", macros=macros, extra_include_dirs="src", deps=build.deps.clog…
27 if build.target.is_x86 or build.target.is_x86_64:
33 if build.target.is_macos:
35 elif build.target.is_linux or build.target.is_android:
40 if build.target.is_arm or build.target.is_arm64:
42 if build.target.is_linux or build.target.is_android:
51 if build.target.is_arm:
53 elif build.target.is_arm64:
55 if build.target.is_android:
60 if build.target.is_macos:
62 if build.target.is_linux or build.target.is_android:
71 build.static_library("cpuinfo", map(build.cc, sources))
73 with build.options(source_dir="tools", deps=[build, build.deps.clog]):
74 build.executable("cpu-info", build.cc("cpu-info.c"))
75 build.executable("isa-info", build.cc("isa-info.c"))
76 build.executable("cache-info", build.cc("cache-info.c"))
78 if build.target.is_x86_64:
79 with build.options(source_dir="tools", include_dirs=["src", "include"]):
80 build.executable("cpuid-dump", build.cc("cpuid-dump.c"))
82 with build.options(source_dir="test", deps=[build, build.deps.clog, build.deps.googletest]):
83 build.smoketest("init-test", build.cxx("init.cc"))
84 if build.target.is_linux:
85 build.smoketest("get-current-test", build.cxx("get-current.cc"))
86 if build.target.is_x86_64:
87 build.smoketest("brand-string-test", build.cxx("name/brand-string.cc"))
89 …with build.options(source_dir="test", include_dirs="test", macros="CPUINFO_MOCK", deps=[build, bui…
90 if build.target.is_arm64 and build.target.is_linux:
91 build.unittest("scaleway-test", build.cxx("scaleway.cc"))
94 … with build.options(source_dir="bench", deps=[build, build.deps.clog, build.deps.googlebenchmark]):
95 build.benchmark("init-bench", build.cxx("init.cc"))
96 if not build.target.is_macos:
97 build.benchmark("get-current-bench", build.cxx("get-current.cc"))
99 return build