Skip to content

Commit 753e91b

Browse files
committed
version 1.88.0
1 parent d5e6a7f commit 753e91b

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ graph_parallel, mpi, python
5757
scripts/build.sh
5858
5959
# However, if you wish, you can skip building the ICU libraries during the boost build and use pre-built binaries from my ICU repository:
60-
# ICU4C_RELEASE_LINK=https://github.com/apotocki/icu4c-iosx/releases/download/76.1.4 scripts/build.sh
60+
# ICU4C_RELEASE_LINK=https://github.com/apotocki/icu4c-iosx/releases/download/77.1.0 scripts/build.sh
6161
6262
# have fun, the result artifacts will be located in 'frameworks' folder.
6363
# Then you can add desirable xcframeworks in your XCode project. The process is described, e.g., at https://www.simpleswiftguide.com/how-to-add-xcframework-to-xcode-project/
@@ -100,7 +100,7 @@ Add the following lines into your project's Podfile:
100100
use_frameworks!
101101
pod 'boost-iosx', '~> 1.88.0'
102102
# or optionally more precisely e.g.:
103-
# pod 'boost-iosx', :git => 'https://github.com/apotocki/boost-iosx', :tag => '1.88.0.1'
103+
# pod 'boost-iosx', :git => 'https://github.com/apotocki/boost-iosx', :tag => '1.88.0.2'
104104
```
105105
If you want to use specific boost libraries, specify them as in the following example for log and program_options libraries:
106106
```

boost-iosx.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "boost-iosx"
3-
s.version = "1.88.0.1"
3+
s.version = "1.88.0.2"
44
s.summary = "Boost C++ libraries for macOS, iOS, watchOS, tvOS, and visionOS, including builds for Mac Catalyst, iOS Simulator, watchOS Simulator, tvOS Simulator, and visionOS Simulator."
55
s.homepage = "https://github.com/apotocki/boost-iosx"
66
s.license = "Boost Software License"

scripts/build.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ TVOS_SIM_VERSION=13.0
1616
WATCHOS_VERSION=11.0
1717
WATCHOS_SIM_VERSION=11.0
1818
################## SETUP END
19-
LOCATIONS_FILE_URL="https://raw.githubusercontent.com/apotocki/boost-iosx/master/LOCATIONS"
19+
LOCATIONS_FILE_URL="https://github.com/apotocki/boost-iosx/raw/refs/heads/master/LOCATIONS"
2020
IOSSYSROOT=$XCODE_ROOT/Platforms/iPhoneOS.platform/Developer
2121
IOSSIMSYSROOT=$XCODE_ROOT/Platforms/iPhoneSimulator.platform/Developer
2222
MACSYSROOT=$XCODE_ROOT/Platforms/MacOSX.platform/Developer
@@ -199,15 +199,15 @@ fi
199199

200200
if [[ ! -f $BOOST_ARCHIVE_FILE ]]; then
201201
TEMP_LOCATIONS_FILE=$(mktemp)
202-
curl -s -o "$TEMP_LOCATIONS_FILE" "$LOCATIONS_FILE_URL"
202+
curl -s -o "$TEMP_LOCATIONS_FILE" -L "$LOCATIONS_FILE_URL"
203203
if [[ $? -ne 0 ]]; then
204204
echo "Failed to download the LOCATIONS file."
205205
exit 1
206206
fi
207207
while IFS= read -r linktemplate; do
208208
linktemplate=${linktemplate/DOTVERSION/"$BOOST_VER"}
209209
link=${linktemplate/FILENAME/"$BOOST_ARCHIVE_FILE"}
210-
echo "downloading from $link ..."
210+
echo "downloading from \"$link\" ..."
211211

212212
curl -o "$BOOST_ARCHIVE_FILE" -L "$link"
213213

@@ -221,6 +221,7 @@ if [[ ! -f $BOOST_ARCHIVE_FILE ]]; then
221221
echo "Wrong archive hash $FILE_HASH, expected $EXPECTED_HASH. Trying next link to reload the archive."
222222
echo "File content: "
223223
head -c 1024 $BOOST_ARCHIVE_FILE
224+
echo ""
224225
rm $BOOST_ARCHIVE_FILE
225226
fi
226227
fi

0 commit comments

Comments
 (0)