brk or break
[Read More]
Install-name-id and install-name-value on Mac
Runtime linking with install-name-id and value
When you man install_name_tool, it doesn’t really tell you what’s the difference between install-name-id and install-name-value. id is used at link time and value is used at runtime. They are all information provided for the linker to locate the dylib. The example used below is inspired by this tutorial. Note...
[Read More]
How AWS CPP SDK handles retry on S3 errors?
An alternative documentation for retry strategy of AWS CPP SDK
Summary
[Read More]
AWS CPP SDK cannot resolve hostname
virtual-hosted style vs path-style
Recently, I upgraded the AWS CPP SDK from 0.40, which was integrated to turicreate codebase around 2017, to 1.7.143.
[Read More]
wheel not installed by pip
remember to check PYTHONPATH if package is already satisfied
Recently, I’m assigned to redesign the packaging pipeline for turicreate python wheel, which is a ZIP-formatted archive.
[Read More]
Compiler header search order
Compile Cython with setuptools
Distinguish C and C++ header search path
[Read More]
CMake 101: if I know how if works
Expalin rules for cmake if/while
TL;DR, check the decision tree and summary.
[Read More]
Build OpenMP with Apple Clang
In-tree and out-of-tree build in practice with CMake
Summary
[Read More]