Skip to main content
  • Home
  • login
  • Browse the archive

    swh mirror partner logo
swh logo
SoftwareHeritage
Software
Heritage
Mirror
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

Raw File
Permalink

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
content badge Iframe embedding
swh:1:cnt:8c20c05103d6ff92a5a7d658ee8385cdbfec003a
#!/bin/bash

# This script reverts to a possibly set "main" code generator script

if [ -f oqs-template/generate.yml-main ]; then
    rm -rf liboqs && git clone --depth 1 --branch main https://github.com/open-quantum-safe/liboqs.git
    mv oqs-template/generate.yml-main oqs-template/generate.yml
    LIBOQS_SRC_DIR=`pwd`/liboqs python3 oqs-template/generate.py
    if [ $? -ne 0 ]; then
       echo "Code generation failure for main branch. Exiting."
       exit -1
    fi
    # remove liboqs.a to ensure rebuild against newly generated code
    rm .local/lib/liboqs.a
    git status
fi

ENEA — Copyright (C), ENEA. License: GNU AGPLv3+.
Legal notes  ::  JavaScript license information ::  Web API

back to top