Przeglądaj źródła

two small fixes

feature/dependency-graph
Martin Dørum 5 lat temu
rodzic
commit
53504ee2e1
2 zmienionych plików z 2 dodań i 2 usunięć
  1. 1
    1
      src/parallel.h
  2. 1
    1
      src/toolchain.cc

+ 1
- 1
src/parallel.h Wyświetl plik

} }
} }


int coreCount() {
inline int coreCount() {
return std::thread::hardware_concurrency(); return std::thread::hardware_concurrency();
} }



+ 1
- 1
src/toolchain.cc Wyświetl plik

std::string objectPath = objectFilePath(srcDir, name, outDir); std::string objectPath = objectFilePath(srcDir, name, outDir);


// Ensure the output directory actually exists // Ensure the output directory actually exists
sys::mkdirp(outDir);
sys::mkdirp(destDir);


std::vector<const char *> argv; std::vector<const char *> argv;



Ładowanie…
Anuluj
Zapisz