Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

https://github.com/epiqc/ScaffCC
13 May 2025, 12:21:09 UTC
  • Code
  • Branches (10)
  • Releases (1)
  • Visits
    • Branches
    • Releases
    • HEAD
    • refs/heads/ScaffCC_OSX
    • refs/heads/master
    • refs/tags/2.2
    • refs/tags/5.0
    • refs/tags/v1.0
    • refs/tags/v1.0-beta.2
    • refs/tags/v2.0
    • refs/tags/v2.1
    • refs/tags/v3.0
    • refs/tags/v4.0
    • v3.1
  • 6bbaf7c
  • /
  • rkqc
  • /
  • scripts
  • /
  • build
Raw File Download
Take a new snapshot of a software origin

If the archived software origin currently browsed is not synchronized with its upstream version (for instance when new commits have been issued), you can explicitly request Software Heritage to take a new snapshot of it.

Use the form below to proceed. Once a request has been submitted and accepted, it will be processed as soon as possible. You can then check its processing state by visiting this dedicated page.
swh spinner

Processing "take a new snapshot" request ...

Permalinks

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
  • directory
  • revision
  • snapshot
origin badgecontent badge Iframe embedding
swh:1:cnt:562714d576365c6779cd67b8c7809aaf71281179
origin badgedirectory badge Iframe embedding
swh:1:dir:dd0a760bcd1c1c54632e22665756c6fb4c73241b
origin badgerevision badge
swh:1:rev:66a79944ee4cd116b27bc1a69137276885461db8
origin badgesnapshot badge
swh:1:snp:7eb50f12cf990a0030724453139e994df238639f
Citations

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
  • revision
  • snapshot
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Tip revision: 66a79944ee4cd116b27bc1a69137276885461db8 authored by Andrew Litteken on 28 September 2021, 15:30:02 UTC
Merge pull request #49 from AndrewLitteken/master
Tip revision: 66a7994
build
#!/bin/bash

ROOT_DIR=$( cd $(dirname $(dirname $0)) && pwd)
BUILD_DIR=$ROOT_DIR/build
SRC_DIR=$ROOT_DIR/src

commons="$ROOT_DIR/scripts/commons"
if [ -f $commons ]; then
    source $commons  #requires ROOT_DIR
else
    echo "$commons not found" 2>&1 
    exit 1
fi


usage() { 
  cat << EOF
usage: $0
  --help                show this help
  |-h

  --bindings            build with bindings
  |-DBUILD_BINDINGS=ON
  |-b 

  --no-bindings 	build without bindings
  |-DBUILD_BINDINGS=OFF
  |-nb

  --unstable            build the unstable sources also
  |-DBUILD_UNSTABLE=ON
  |-u                   

  --no-unstable		dont build the unstable sources
  |-DBUILD_UNSTABLE=OFF
  |-nu

  --examples            build the example sources also
  |-DBUILD_EXAMPLES=ON
  |-e                   

  --no-examples		dont build the example sources
  |-DBUILD_EXAMPLES=OFF
  |-ne
EOF
  exit 1
}


function call_make(){
	cd $BUILD_DIR &&
	cmake $@ $SRC_DIR &&
	make -j3 &&
	cd $ROOT_DIR
}

function create_symlink(){
	ln -f -s $@ &&
	file $@ 
}
#setting the parameters from the arguments given to the script
#posibilities are unstable, bindings, examples and setting the boost path
#building unstable is required so its set by default

PARAM=""
bindings="-DBUILD_BINDINGS=ON" 
unstable="-DBUILD_UNSTABLE=ON"
examples=""

while [[ "$@" ]]; do
  case $1 in
    --help|-h)    usage;;
    --bindings|-DBUILD_BINDINGS=ON|-b) 		bindings="-DBUILD_BINDINGS=ON";;
    --no-bindings|-DBUILD_BINDINGS=OFF|-nb) 	bindings="-DBUILD_BINDINGS=OFF";;
    --unstable|-DBUILD_UNSTABLE=ON|-u) 		unstable="-DBUILD_UNSTABLE=ON";;
    --no-unstable|-DBUILD_UNSTABLE=OFF|-nu) 	unstable="-DBUILD_UNSTABLE=OFF";;
    --examples|-DBUILD_EXAMPLES=ON|-e) 		examples="-DBUILD_EXAMPLES=ON";;
    --no-examples|-DBUILD_EXAMPLES=OFF|-ne) 	examples="-DBUILD_EXAMPLES=OFF";;
      *BOOST_PATH*) PARAM="$PARAM $1";; 
  esac
  shift;
done
PARAM="$PARAM $bindings $unstable $examples"
echo $PARAM &&

cd $ROOT_DIR &&
if [ -d $BUILD_DIR ]; then
    call_make $PARAM
else
    echo "you should run bootstrap.sh first. Run it now? y/n"
    read answer
    if [[ $answer == "y" ]]; then
	source bootstrap.sh
    else
	echo "build without bootstrap? y/n"
    	read answer
        if [[ $answer == "y" ]]; then
    	   call_make $PARAM
	fi
    fi
fi

rm revkit.py
rm revkit_python.so
rm revkitmath.py
rm revkitui.py


#quote_error

Software Heritage — Copyright (C) 2015–2025, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Contact— JavaScript license information— Web API

back to top