Skip to content

Commit

Permalink
Specify Chromium and liboqs version (#240)
Browse files Browse the repository at this point in the history
Documentation update
  • Loading branch information
Raytonne authored Oct 21, 2023
1 parent 4d5f472 commit a9b567f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
8 changes: 7 additions & 1 deletion chromium/README-Linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
10 changes: 9 additions & 1 deletion chromium/README-Windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit a9b567f

Please sign in to comment.