From 57a3e2c244c6ce3cdab4ac69d5ebcd6e0f3a005d Mon Sep 17 00:00:00 2001 From: Marcus Llewellyn Date: Mon, 20 Jan 2020 15:01:42 -0600 Subject: [PATCH] Requested changes. - Changed `-j` make flag instructions. - Change vcpkg environment variable instructions. --- BUILD_LINUX.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/BUILD_LINUX.md b/BUILD_LINUX.md index cc133d4c83..5b1a49abeb 100644 --- a/BUILD_LINUX.md +++ b/BUILD_LINUX.md @@ -115,8 +115,8 @@ make interface The commands above will compile with a single thread. If you have enough memory, you can decrease your build time using the `-j` flag. Since most x64 CPUs -support two threads per core, this works out to CPU_COUNT*2. If you have a 2 -core machine, you could use: +support two threads per core, this works out to CPU_COUNT*2. As an example, if +you have a 2 core machine, you could use: ``` make -j4 interface ``` @@ -151,7 +151,8 @@ Go to localhost in the running interface. #### Notes If your goal is to set up a development environment, it is desirable to set the -directory that vcpkg builds to via the `HIFI_VCPKG_BASE` environment variable. +directory that vcpkg builds into with the `HIFI_VCPKG_BASE` environment variable. +For example, you might set `HIFI_VCPKG_BASE` to `/home/$USER/vcpkg`. By default, vcpkg will build in the system `/tmp` directory. ##### Ubuntu 18.04 only