From 70cacc8b4ec848213b98b23fae6fdbbb6869576f Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Thu, 6 Sep 2018 15:29:37 +0800 Subject: [PATCH 1/2] doc: Add parallel builds to the Eclipse setup guide --- docs/en/get-started/eclipse-setup-windows.rst | 6 ++++++ docs/en/get-started/eclipse-setup.rst | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/docs/en/get-started/eclipse-setup-windows.rst b/docs/en/get-started/eclipse-setup-windows.rst index 89a12e789b..a9771ea3e3 100644 --- a/docs/en/get-started/eclipse-setup-windows.rst +++ b/docs/en/get-started/eclipse-setup-windows.rst @@ -67,6 +67,12 @@ Navigate to "C/C++ General" -> "Indexer" property page: * Uncheck "Allow heuristic resolution of includes". When this option is enabled Eclipse sometimes fails to find correct header directories. +Navigate to "C/C++ Build" -> "Behavior" property page: + +* Check "Enable parallel build" to enable multiple build jobs in parallel. + +* Setting the number of jobs slightly higher than the "optimal" may give the absolute fastest builds under Windows, depending on the specific hardware being used. + Building in Eclipse ------------------- diff --git a/docs/en/get-started/eclipse-setup.rst b/docs/en/get-started/eclipse-setup.rst index 1a88bd6c5b..2f02dd4e7f 100644 --- a/docs/en/get-started/eclipse-setup.rst +++ b/docs/en/get-started/eclipse-setup.rst @@ -69,6 +69,10 @@ Navigate to "C/C++ General" -> "Indexer" property page: * Uncheck "Allow heuristic resolution of includes". When this option is enabled Eclipse sometimes fails to find correct header directories. +Navigate to "C/C++ Build" -> "Behavior" property page: + +* Check "Enable parallel build" to enable multiple build jobs in parallel. + .. _eclipse-build-project: Building in Eclipse From 1e9ce6a2e141e98c4c037ad8c0c11f1101da7200 Mon Sep 17 00:00:00 2001 From: morris Date: Fri, 7 Sep 2018 11:12:03 +0800 Subject: [PATCH 2/2] doc: translate parallel build in Eclipse --- docs/zh_CN/get-started/eclipse-setup-windows.rst | 6 ++++++ docs/zh_CN/get-started/eclipse-setup.rst | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/zh_CN/get-started/eclipse-setup-windows.rst b/docs/zh_CN/get-started/eclipse-setup-windows.rst index 090cc058f0..4c4cbad4ee 100644 --- a/docs/zh_CN/get-started/eclipse-setup-windows.rst +++ b/docs/zh_CN/get-started/eclipse-setup-windows.rst @@ -71,6 +71,12 @@ Windows 平台上的 Eclipse 配置 取消选中 “Allow heuristic resolution of includes”。因为启用此选项时,有时会导致 Eclipse 无法找到正确的头文件目录。 +点击 “C/C++ Build” -> “Behavior” 属性页。 + +* 选中 “Enable parallel build” 以启用多任务并行构建。 + +* 将作业数设置为略高于“最佳”的推荐值,能够使得在 Windows 下的构建速度达到最快,不过这还要取决于您具体使用的硬件的配置。 + 在 Eclipse IDE 中创建项目 --------------------------- diff --git a/docs/zh_CN/get-started/eclipse-setup.rst b/docs/zh_CN/get-started/eclipse-setup.rst index d63c8be5dd..3c99a9ed76 100644 --- a/docs/zh_CN/get-started/eclipse-setup.rst +++ b/docs/zh_CN/get-started/eclipse-setup.rst @@ -75,6 +75,10 @@ Windows 用户 取消选中 “Allow heuristic resolution of includes”。因为启用此选项时,有时会导致 Eclipse 无法找到正确的头文件目录。 +点击 “C/C++ Build” -> “Behavior” 属性页。 + +* 选中 “Enable parallel build” 以启用多任务并行构建。 + .. _eclipse-build-project: 在 Eclipse IDE 中创建项目 @@ -118,4 +122,4 @@ Windows 用户 eclipse-setup-windows -.. _eclipse.org: https://www.eclipse.org/ \ No newline at end of file +.. _eclipse.org: https://www.eclipse.org/