<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>ispc</Name>
        <Homepage>https://ispc.github.io/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>BSD</License>
        <IsA>library</IsA>
        <Summary>C-based SPMD programming language compiler</Summary>
        <Description>C tabanlı SPMD programlama dili derleyicisi</Description>
        <Archive sha1sum="f97763f3f1fc97431956bf45bf7004bf997fa1ea" type="targz">https://github.com/ispc/ispc/archive/refs/tags/v1.21.0.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>flex</Dependency>
            <Dependency>llvm</Dependency>
            <Dependency>cmake</Dependency>
            <Dependency>doxygen</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>llvm-mlir</Dependency>
            <Dependency>llvm-polly</Dependency>
            <Dependency>onetbb-devel</Dependency>
            <Dependency>libxml2-devel</Dependency>
            <Dependency>ncurses-devel</Dependency>
            <Dependency>llvm-clang-devel</Dependency>
            <Dependency>python3-devel</Dependency>
        </BuildDependencies>
        <Patches>
<!--             <Patch level="1">0001-Link-against-libclang-cpp.so.patch</Patch> -->
        </Patches>
    </Source>

    <Package>
        <Name>ispc</Name>
        <RuntimeDependencies>
            <Dependency>libgcc</Dependency>
            <Dependency>onetbb</Dependency>
            <Dependency>llvm-libs</Dependency>
            <Dependency>llvm-clang</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>ispc-devel</Name>
        <Summary>Development files for ispc</Summary>
        <RuntimeDependencies>
            <Dependency release="current">ispc</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/cmake</Path>
            <Path fileType="library">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="2">
            <Date>2023-11-03</Date>
            <Version>1.21.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="1">
            <Date>2021-06-30</Date>
            <Version>1.16.0</Version>
            <Comment>First release.</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
