Git Product home page Git Product logo

Comments (8)

sdarwin avatar sdarwin commented on June 13, 2024 1

@mrichmon the github releases contain the boost source, however they are not quite the "official" releases, posted on jfrog, due to the directory format.

What is available on github:

https://github.com/boostorg/boost/releases/download/boost-1.85.0/boost-1.85.0-b2-nodocs.tar.gz (no rendered documentation)
https://github.com/boostorg/boost/releases/download/boost-1.85.0/boost-1.85.0-cmake.tar.gz (for cmake)

1.81.0 through 1.84.0 were the cmake version.

from boost.

mclow avatar mclow commented on June 13, 2024

The official download site for boost is https://boostorg.jfrog.io/artifactory/main/release/1.85.0/source/, and there is a zip package there: https://boostorg.jfrog.io/artifactory/main/release/1.85.0/source/boost_1_85_0.zip

from boost.

hamlibdk avatar hamlibdk commented on June 13, 2024

mcclow ... Thanks for the response. There has been long standing issues with JFrog that we do not want to go into heavily (i.e. the links can insert advertising etc.) that make scripting solutions difficult. We were recommended to go here by maintainers in the past - and the GitHUB release repo has served us well as a result.

Its a simple ask ... can the ZIP file please also be moved into the GitHUB release stream in this repo?

Thanks.

from boost.

sdarwin avatar sdarwin commented on June 13, 2024

long standing issues with JFrog

@hamlibdk also, another download location https://archives.boost.io/release/1.85.0/source/boost_1_85_0.zip . There are plans to shift away from JFrog fairly soon.

from boost.

hamlibdk avatar hamlibdk commented on June 13, 2024

Attached below this main text is most of a PowerShell script that has been used since the 1.7x.0 range of Boost releases.

We run a configuration key in a file called Versions.ini that allows users - if they want - to select their prefererred release of Boost

i.e.

File: Versions.ini
...
boostv=1.84.0
...

Yes we could edit our code... Yet that BREAKS compatibility with PREVIOUS Boost versions that users prefer (some of our user group actually are Nobel Laureates).

Yet it is the change in nomenclature that has affected us.

Yes we have "obtuse" ways around this ! But that then defeats the purpose of a SDK - which is to bundle EVERYTHING into one simply understood package set.

The ask is simple ... Please just maintain past nomenclature and standard(s) and manually push this file up to GitHUB !

We are happy to do this if offered appropriate access :-)

As you will see we have had to move AWAY from JFrog - on the advice of developers in here in the past - - due to issues that can be experienced when advertising links etc. at JFrog are tried to be inserted ! You will see commented efforts even in here !

.............................

# Describe Action

Clear-Host
Write-Host " "
Write-Host "* Download Boost"
Write-Host " "

# Get hash table of configuration variables from Versions.ini

$env:jtsdk64VersionConfig = "$env:JTSDK_CONFIG\Versions.ini"
Get-Content $env:jtsdk64VersionConfig | foreach-object -begin {$configTable=@{}} -process { $k = [regex]::split($_,'='); if(($k[0].CompareTo("") -ne 0) -and ($k[0].StartsWith("[") -ne $True)) { $configTable.Add($k[0], $k[1]) } }

# Retrieve Boost Version

$boostv = $configTable.Get_Item("boostv")

# Place into file format for Boost distribution
# Note: Multi stage here - can be simplified.

$dlFile = "boost-$boostv.zip"
$dLoc = $dlFile.Replace(".zip","")			# Remove the .zip extenstion [ For decompression ]

# Boost Distribution URL

#$dlPath = "https://boostorg.jfrog.io/artifactory/main/release/$boostv/source/$dlFile"
# URL used for Development: https://github.com/boostorg/boost/releases/download/boost-1.84.0/boost-1.84.0.zip
$dlPath = "https://github.com/boostorg/boost/releases/download/$dLoc/$dlFile"

Write-Host "  --> Requested Source: $dlPath"

# Download
# Note: -UserAgent "" <== so can download from JFROG.ORG

if (!(Test-Path("$env:JTSDK_SRC\$dlFile"))) {
	Write-Host "  --> Downloading $env:JTSDK_SRC\$dlFile" 
	Write-Host ""
	Write-Host "      `[Note: This could be *** SLOW *** depending on link speed and net congestion.`]"
	Write-Host ""
	# try { Invoke-WebRequest $dlPath -UserAgent "" -OutFile "$env:JTSDK_SRC\$dlFile" }
	try { Invoke-WebRequest $dlPath -OutFile "$env:JTSDK_SRC\$dlFile" }	
	catch { 
		Write-Host -ForegroundColor Red "  *** ERROR DOWNLOADING FILE ***" 
		Write-Host ""
		exit(1) 
	}
	Write-Host "  --> Download Complete"
} else {
	Write-Host -ForegroundColor Yellow "  --> Source already downloaded"
	Write-Host "  --> File: $env:JTSDK_SRC\$dlFile"
	Write-Host "  --> To refresh: Delete $env:JTSDK_SRC\$dlFile and re-run `'Download-Boost.ps1`'"
}

Write-Host ""

# Decompression

if (!(Test-Path("$env:JTSDK_SRC\$dLoc"))){
	Write-Host "  --> Decompressing to: $env:JTSDK_SRC"
	Write-Host ""
	Write-Host "      `[Note: This will be *** SLOW ***`]"
	Write-Host""
	try { Expand-Archive "$env:JTSDK_SRC\$dlFile" -DestinationPath $env:JTSDK_SRC -Force } 
	catch { 
		Write-Host -ForegroundColor Red "  *** ERROR DECOMPRESSING FILE ***" 
		exit(2) 
	}
		Write-Host "  --> Decompression complete." 
} else {	
	Write-Host -ForegroundColor Yellow "  --> Source already decompressed"
	Write-Host "  --> To refresh: Delete source directory in $env:JTSDK_SRC and re-run `'Download-Boost.ps1`'"
}

Write-Host "  --> Source in $env:JTSDK_SRC\$dLoc"	
Write-Host " "

exit(0)

from boost.

Joe-K0OG avatar Joe-K0OG commented on June 13, 2024

Greetings,

It seems that a simple fix would help, so please consider renaming the official posted .zip from "boost_1_85_0.zip" to "boost-1.86.0.zip" and renaming the top folder inside the .zip to "boost-1.85.0".

To make 1.85.0 work with the Hamlib SDK (JTSDK) build system, I set "boostv=1.85.0" in Versions.ini, then downloaded https://archives.boost.io/release/1.85.0/source/boost_1_85_0.zip. After the download I renamed it to "boost-1.85.0.zip" and within the .zip renamed the top folder to "boost-1.85.0". After doing that, running the "Deploy-Boost" script works perfectly, and the resulting boost 1.85.0 builds applications fine. Hopefully the boost folks will do this simple name fix.

Thanks!
-Joe-

from boost.

hamlibdk avatar hamlibdk commented on June 13, 2024

Joe,

Thanks. Its not that simple. In this case we are trying to maintain backward compatibility without re-issuing a new JTSDK version and/or patch set. We want to concentrate on Version 4 - which deals with deprecation and the lack of availability from "scripted" sources of Qt 5.15.2 (etc).

Any changes that we would make would break backwards compatibility.

Thanks

HSD

from boost.

mrichmon avatar mrichmon commented on June 13, 2024

Is there some reason why the Boost 1.85.0 release on GitHub at https://github.com/boostorg/boost/releases/tag/boost-1.85.0 does not include a boost-1.85.0.tar.gz archive?

This archive was published for previous releases at:

Pulling release packages from GitHub rather than the main Boost website is important because our corporate caching has a pass-through mechanism for GitHub.com hosted releases. Updating this caching for individual project sites is complicated.

from boost.

Related Issues (20)

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.