diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4332f3e..ba12363 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: # the `julia-actions/cache` workflow run: | apt-get update -y - apt-get install -y g++-10 git jq + apt-get install -y g++ git jq env: DEBIAN_FRONTEND: noninteractive - uses: actions/checkout@v4 @@ -55,12 +55,9 @@ jobs: cache-packages: "true" cache-compiled: "true" - uses: julia-actions/julia-buildpkg@v1 - env: - CXX: g++-10 - uses: julia-actions/julia-docdeploy@v1 if: ${{ matrix.build_docs }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} - CXX: g++-10 - uses: julia-actions/julia-runtest@v1 diff --git a/deps/build.jl b/deps/build.jl index 94c147c..7b9b346 100644 --- a/deps/build.jl +++ b/deps/build.jl @@ -27,7 +27,8 @@ function build_bindings(; path::String=joinpath(libpoplar_dir, "libpoplar_julia. run(``` $(cxx) -O0 - -std=c++2a + -std=c++17 + -DJLCXX_FORCE_RANGES_OFF -fPIC -shared -I$(julia_include_dir) diff --git a/docs/src/index.md b/docs/src/index.md index 5188a8c..465c2a8 100644 --- a/docs/src/index.md +++ b/docs/src/index.md @@ -19,7 +19,7 @@ This package requires * Julia v1.6+ (currently tested up to Julia v1.10), * the Poplar SDK v1.3 or v2.0-v3.2 including the `popc` compiler, -* a C++ compiler supporting C++20 standard for compiling the wrapper around the Poplar SDK (e.g. G++ 10 or following releases). +* a C++ compiler supporting C++17 standard for compiling the wrapper around the Poplar SDK (e.g. G++ 9 or following releases). Other versions of the Poplar SDK are not currently supported.