test fixes
This commit is contained in:
parent
0eed272765
commit
c63f3430a5
12 changed files with 4207 additions and 118 deletions
|
|
@ -45,7 +45,7 @@ namespace Crafter {
|
|||
return true;
|
||||
}
|
||||
}
|
||||
void Implementation::Compile(const std::string_view clang, const fs::path& pcmDir, const fs::path& buildDir) const {
|
||||
void Implementation::Compile(const std::string_view clang, const fs::path& buildDir) const {
|
||||
for(ModulePartition* dependency : partitionDependencies) {
|
||||
if(!dependency->compiled.load()) {
|
||||
dependency->compiled.wait(false);
|
||||
|
|
@ -56,6 +56,6 @@ namespace Crafter {
|
|||
dependency->compiled.wait(false);
|
||||
}
|
||||
}
|
||||
RunClang(std::format("{} {}.cpp -fprebuilt-module-path={} -fprebuilt-module-path={} -c -o {}_impl.o", clang, path.string(), pcmDir.string(), buildDir.parent_path().string(), (buildDir/path.filename()).string()));
|
||||
RunClang(std::format("{} {}.cpp -c -o {}_impl.o", clang, path.string(), (buildDir/path.filename()).string()));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue