Skip to content

Commit

Permalink
build(windows): temporarily change boost url to mirror
Browse files Browse the repository at this point in the history
  • Loading branch information
Silverlan committed Jan 1, 2024
1 parent 174b875 commit b3a8165
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build_scripts/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,10 @@ def execscript(filepath):
else:
mkdir("build",cd=True)

cmake_configure("..",generator,["-DBOOST_DISABLE_TESTS=ON","-DZLIB_INCLUDE_DIR=" +ZLIB_INCLUDE,"-DZLIB_LIBRARY=" +ZLIB_LIBPATH])
# boost_url = "https://boostorg.jfrog.io/artifactory/main/release/1.80.0/source/boost_1_80_0.tar.bz2"
# The URL above is currently unavailable, so we'll use this mirror for the time being ( https://github.com/boostorg/boost/issues/842 )
boost_url = "https://sourceforge.net/projects/boost/files/boost/1.80.0/boost_1_80_0.tar.bz2"
cmake_configure("..",generator,["-DBOOST_DISABLE_TESTS=ON","-DZLIB_INCLUDE_DIR=" +ZLIB_INCLUDE,"-DZLIB_LIBRARY=" +ZLIB_LIBPATH,"-DBOOST_URL=" +boost_url])
cmake_build("Release")
os.chdir("../..")

Expand Down

0 comments on commit b3a8165

Please sign in to comment.