Added recipe for boost.

This commit is contained in:
2024-08-04 02:31:31 +02:00
parent 6302d61d42
commit abc72895e6
3 changed files with 86 additions and 0 deletions

View File

@@ -240,6 +240,7 @@ env = Environment(tools = tools, variables = vars, ENV = os.environ)
env['RECIPES_FOLDERS'] = [Dir('recipes')]
env['SYSTEM_CACHE_DIR'] = os.path.join(_find_system_cache_dir(), 'spp_cache')
env['CLONE_DIR'] = os.path.join(env['SYSTEM_CACHE_DIR'], 'cloned')
env['DOWNLOAD_DIR'] = os.path.join(env['SYSTEM_CACHE_DIR'], 'downloaded')
env['UPDATE_REPOSITORIES'] = update_repositories
print(f'Detected system cache directory: {env["SYSTEM_CACHE_DIR"]}')
@@ -312,6 +313,7 @@ if env['UPDATE_REPOSITORIES']:
f.write(str(time.time()))
# create the clone and system cache dirs
os.makedirs(env['CLONE_DIR'], exist_ok=True)
os.makedirs(env['DOWNLOAD_DIR'], exist_ok=True)
# try to detect what compiler we are using
compiler_exe = os.path.basename(env.subst(env['CC']))