Giter Club home page Giter Club logo

build-souffle-win's Introduction

build-souffle-win

如何使用

  1. 下载 Github Action 或 Nightly Pre-release 里的 souffle.zip 或 souffle-static.zip。
  2. 解压后把 bin 目录添加到 Path 环境变量。
  3. 修改 bin 目录中的 souffle-compile.py,可以使用本仓库中的 souffle-compile-msvc.py 作为参考。

推荐使用 MSVC ,但 MSVC 版本需要在终端激活开发者环境后使用 (vcvarsall.bat)。

Powershell 激活 MSVC 环境

function Activate-VC {
    [CmdletBinding()] 
    param (
        [ValidateSet("x86", "amd64", "arm", "arm64")]
        [string]$TargetArch = "amd64",

        [ValidateSet("x86", "amd64")]
        [string]$HostArch = "amd64"
    )
    # Modify the following line corresponding to your environment.
    $VS = "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools"
    Import-Module $VS"\Common7\Tools\Microsoft.VisualStudio.DevShell.dll"
    Enter-VsDevShell -VsInstallPath $VS -Arch $TargetArch -HostArch $HostArch
}

build-souffle-win's People

Contributors

ceclin avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.