Skip to content

Instantly share code, notes, and snippets.

@darrenfu
Last active September 25, 2021 03:52
Show Gist options
  • Save darrenfu/965c8e51a6af0d90850347676b5b07fc to your computer and use it in GitHub Desktop.
Save darrenfu/965c8e51a6af0d90850347676b5b07fc to your computer and use it in GitHub Desktop.
> scripts/setup-macos.sh
...
+ run_and_time install_double_conversion
+ install_double_conversion
+ github_checkout google/double-conversion v3.1.5
+ local REPO=google/double-conversion
+ local VERSION=v3.1.5
++ basename google/double-conversion
+ local DIRNAME=double-conversion
+ cd /Users/dofu/git/velox
+ '[' -z double-conversion ']'
+ '[' -d double-conversion ']'
+ '[' '!' -d double-conversion ']'
+ git clone -q https://github.com/google/double-conversion.git
+ cd double-conversion
+ git fetch -q
+ git checkout v3.1.5
Note: switching to 'v3.1.5'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at 5fa81e8 Fix some issues with invalid hex-float literals.
+ cmake_install -DBUILD_TESTING=OFF
+++ pwd
++ basename /Users/dofu/git/velox/double-conversion
+ local NAME=double-conversion
+ local BINARY_DIR=_build
+ '[' -d _build ']'
+ mkdir -p _build
+ cmake -Wno-dev -B_build -GNinja -DCMAKE_CXX_STANDARD=17 '' '' '-DCMAKE_CXX_FLAGS=-mavx2 -mfma -mavx -mf16c -masm=intel -mlzcnt' -DBUILD_TESTING=OFF
-- The C compiler identification is AppleClang 12.0.5.12050022
-- The CXX compiler identification is AppleClang 12.0.5.12050022
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode_12.5.0_fb.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode_12.5.0_fb.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/dofu/git/velox/double-conversion/_build
+ ninja -C _build install
ninja: Entering directory `_build'
[9/10] Install the project...
-- Install configuration: ""
-- Installing: /usr/local/lib/libdouble-conversion.a
error: /Applications/Xcode_12.5.0_fb.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: can't create temporary file: /usr/local/lib/libdouble-conversion.a.b6rwcp (Permission denied)
-- Installing: /usr/local/include/double-conversion/bignum.h
-- Installing: /usr/local/include/double-conversion/cached-powers.h
-- Installing: /usr/local/include/double-conversion/diy-fp.h
-- Installing: /usr/local/include/double-conversion/double-conversion.h
-- Installing: /usr/local/include/double-conversion/fast-dtoa.h
-- Installing: /usr/local/include/double-conversion/fixed-dtoa.h
-- Installing: /usr/local/include/double-conversion/ieee.h
-- Installing: /usr/local/include/double-conversion/strtod.h
-- Installing: /usr/local/include/double-conversion/utils.h
-- Installing: /usr/local/lib/cmake/double-conversion/double-conversionConfig.cmake
-- Installing: /usr/local/lib/cmake/double-conversion/double-conversionConfigVersion.cmake
-- Installing: /usr/local/lib/cmake/double-conversion/double-conversionTargets.cmake
-- Installing: /usr/local/lib/cmake/double-conversion/double-conversionTargets-noconfig.cmake
real 0m6.425s
user 0m2.173s
sys 0m1.097s
+ Finished running install_double_conversion
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment