diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 30214d6d8..8db8043c0 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -65,7 +65,7 @@ jobs: shell: bash run: | mkdir -p bison - curl -L https://ftpmirror.gnu.org/gnu/bison/bison-3.8.2.tar.gz | tar --strip-components=1 -xzC bison + curl -L https://ftp.gnu.org/gnu/bison/bison-3.8.2.tar.gz | tar --strip-components=1 -xzC bison ## Software installed by default in GitHub Action Runner VMs: ## https://github.com/actions/runner-images - if: ${{ matrix.os.family == 'macos' }} diff --git a/cmake/GetPyosysVersion.cmake b/cmake/GetPyosysVersion.cmake index 31c7536bf..eac746263 100644 --- a/cmake/GetPyosysVersion.cmake +++ b/cmake/GetPyosysVersion.cmake @@ -1,6 +1,7 @@ cmake_minimum_required(VERSION 3.27) set(CMAKE_MESSAGE_LOG_LEVEL ERROR) -set(CMAKE_MODULE_PATH "${YOSYS_CMAKE_SOURCE_DIR}/cmake" ${CMAKE_MODULE_PATH}) +set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake" ${CMAKE_MODULE_PATH}) +set(YOSYS_CMAKE_SOURCE_DIR "${CMAKE_SOURCE_DIR}" CACHE INTERNAL "Save source path") include(YosysVersion) yosys_extract_version()