view src/libarchive-test.c @ 5978:1569a1d140ae

octave-launch: Set number of OpenBLAS threads to number of cores (bug #61208). * installer-files/octave-launch.c (get_num_physical_cores): New function to get number of physical processor cores. (wmain): Set OPENBLAS_NUM_THREADS to number of physical processor cores for performance.
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 25 Nov 2021 18:37:52 +0100
parents 99516e73b368
children
line wrap: on
line source

/*
 * This file is part of MXE.
 * See index.html for further information.
 */

#include <archive.h>

int main(int argc, char *argv[])
{
    struct archive *tgz;

    (void)argc;
    (void)argv;

    tgz = archive_write_new();
    archive_write_set_compression_gzip(tgz);
    archive_write_set_format_ustar(tgz);
    archive_write_finish(tgz);

    return 0;
}