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://doi.org/10.5201/ipol.2022.215
11 April 2026, 15:45:18 UTC
  • Code
  • Branches (0)
  • Releases (2)
  • Visits
    • Branches
    • Releases
      • 2
      • 2
      • 1
    • c530314
    • /
    • paraws
    • /
    • meson.build
    Raw File Download

    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
    • snapshot
    • release
    origin badgecontent badge
    swh:1:cnt:1e2a6c11d9c3ed664a8252e58e2653e8fc5a8281
    origin badgedirectory badge
    swh:1:dir:bb309b6c220124321a1ac969488a1621c674679d
    origin badgesnapshot badge
    swh:1:snp:78d18a3e9f4a56ecaf1e6817d370abae618d0a7c
    origin badgerelease badge
    swh:1:rel:f3a4320e8346f38185539583336571c1b856fc47

    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
    • snapshot
    • release
    (requires biblatex-software package)
    Generating citation ...
    (requires biblatex-software package)
    Generating citation ...
    (requires biblatex-software package)
    Generating citation ...
    (requires biblatex-software package)
    Generating citation ...
    meson.build
    project('paraws', 'cpp')
    
    # set OpenMP flag
    add_project_arguments('-fopenmp', language : 'cpp')
    add_project_link_arguments('-fopenmp', language : 'cpp')
    
    # clang has B&nW warnings by default!?
    if meson.get_compiler('cpp').get_id() == 'clang'
      add_project_arguments('-fcolor-diagnostics', language : 'cpp')
    endif
    
    # get timings
    timing_opt = get_option('get_timings')
    if timing_opt
      add_project_arguments('-D BENCH', language : 'cpp')
    endif
    
    list_exec = [
        'paraws'
    ]
    
    # png dependency
    png_dep = dependency ('libpng')
    
    # release cxxflags
    buildtype = get_option('buildtype')
    if buildtype == 'release'
      cxxflags = ['-DUSE_64BIT_IDS', '-DNDEBUG', '-ftree-vectorize',
                  '-ftree-slp-vectorize', '-march=native',
                  '-mtune=native', '-std=c++11']
      add_project_arguments(cxxflags, language : 'cpp')
    endif
    
    subdir('src')
    
    # tests on demand
    tests_opt = get_option('build_tests')
    if tests_opt
      subdir('tests')
    endif
    
    
    foreach exec_name : list_exec
       executable(
        exec_name,
        exec_name + '.cpp',
        link_with : paraws_lib,
        dependencies : [png_dep],
      )
    endforeach
    

    back to top

    Software Heritage — Copyright (C) 2015–2026, 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— Content policy— Contact— JavaScript license information— Web API