From a9b567fa450a5c388fea487bf5eeeaf6ba0dd197 Mon Sep 17 00:00:00 2001 From: Raytonne <86047362+Raytonne@users.noreply.github.com> Date: Sat, 21 Oct 2023 00:24:07 -0500 Subject: [PATCH] Specify Chromium and liboqs version (#240) Documentation update --- chromium/README-Linux.md | 8 +++++++- chromium/README-Windows.md | 10 +++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/chromium/README-Linux.md b/chromium/README-Linux.md index b48393c1..3aa0befc 100644 --- a/chromium/README-Linux.md +++ b/chromium/README-Linux.md @@ -6,6 +6,12 @@ Please read [Google's instructions](https://chromium.googlesource.com/chromium/s The rest of the instructions will use **$CHROMIUM_ROOT** to refer to the root directory of the Chromium source code. +```shellscript +cd $CHROMIUM_ROOT +git checkout tags/117.0.5863.0 +gclient sync +``` + ### 2. Install Go and Perl ### 3. Switch to the OQS-BoringSSL @@ -22,7 +28,7 @@ git checkout -b oqs-bssl-master 1ca41b49e9198f510991fb4f350b4a5fd4c1d5ff Choose a directory to store the liboqs source code and use the `cd` command to move to that directory. We will use ninja to build liboqs. ```shellscript -git clone --branch main https://github.com/open-quantum-safe/liboqs.git +git clone https://github.com/open-quantum-safe/liboqs.git --branch 0.8.0 --single-branch cd liboqs && mkdir build && cd build cmake .. -G"Ninja" -DCMAKE_INSTALL_PREFIX=$CHROMIUM_ROOT/third_party/boringssl/src/oqs -DOQS_USE_OPENSSL=OFF ninja && ninja install diff --git a/chromium/README-Windows.md b/chromium/README-Windows.md index 18ba0922..d9f2e258 100644 --- a/chromium/README-Windows.md +++ b/chromium/README-Windows.md @@ -7,6 +7,14 @@ Please read [Google's instructions](https://chromium.googlesource.com/chromium/s The rest of the instructions will use **%CHROMIUM_ROOT%** to refer to the root directory of the Chromium source code.\ You may set `CHROMIUM_ROOT` variable by running `set CHROMIUM_ROOT=/path/to/the/Chromium/source` in Command Prompt. +In Command Prompt, run following commands: + +```bat +cd %CHROMIUM_ROOT% +git checkout tags/117.0.5863.0 +gclient sync +``` + ### 2. Install Go and Perl ### 3. Switch to the OQS-BoringSSL @@ -26,7 +34,7 @@ Choose a directory to store the liboqs source code and use the `cd` command to m Start _x64 Native Tools Command Prompt for VS 2022_ (usually it's in _C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Visual Studio 2022\Visual Studio Tools\VC_) and run following commands: ```bat -git clone --branch main https://github.com/open-quantum-safe/liboqs.git +git clone https://github.com/open-quantum-safe/liboqs.git --branch 0.8.0 --single-branch cd liboqs && mkdir build && cd build cmake .. -DCMAKE_INSTALL_PREFIX=%CHROMIUM_ROOT%/third_party/boringssl/src/oqs -DOQS_USE_OPENSSL=OFF msbuild ALL_BUILD.vcxproj