This commit is contained in:
parent
fa6c8a7fea
commit
ff907e79cf
2 changed files with 0 additions and 11 deletions
|
|
@ -240,9 +240,7 @@ namespace Crafter {
|
|||
|
||||
fs::path exeDir = GetPath();
|
||||
|
||||
std::cout << "before pcm" << std::endl;
|
||||
BuildStdPcm(*this, config);
|
||||
std::cout << "after pcm" << std::endl;
|
||||
|
||||
std::string editedTarget = config.target;
|
||||
std::replace(editedTarget.begin(), editedTarget.end(), '-', '_');
|
||||
|
|
@ -333,8 +331,6 @@ namespace Crafter {
|
|||
|
||||
std::vector<std::string> resultsDep(config.dependencies.size());
|
||||
|
||||
std::cout << "bruh 5" << std::endl;
|
||||
|
||||
for(std::uint_fast32_t i = 0; i < depThreads.size(); i++) {
|
||||
depThreads[i] = std::thread([i, &config, &libMutex, &depLibSet, &buildDir, &pcmDir, &libsString, &binDir, this, &buildResult, &resultsDep](){
|
||||
for(Configuration& config2 : std::get<0>(config.dependencies[i])->configurations) {
|
||||
|
|
@ -370,8 +366,6 @@ namespace Crafter {
|
|||
return buildResult;
|
||||
}
|
||||
|
||||
std::cout << "bruh 7" << std::endl;
|
||||
|
||||
|
||||
for(const fs::path& cFile: config.c_files) {
|
||||
files+=std::format(" {}_source.o ",(buildDir/cFile.filename()).string());
|
||||
|
|
@ -425,15 +419,11 @@ namespace Crafter {
|
|||
buildResult.errors += result2;
|
||||
}
|
||||
|
||||
|
||||
if(!buildResult.errors.empty()) {
|
||||
fileThread.join();
|
||||
return buildResult;
|
||||
}
|
||||
|
||||
std::cout << "bruh 8" << std::endl;
|
||||
|
||||
|
||||
if(config.target != "wasm32-wasi") {
|
||||
command += " -L/usr/local/lib";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue