rocksdb/build_tools
nikoPLP 17b33c8b2f fix CXX not initialized early enough in Makefile on openbsd + platform version 10.14 on macos (#11675)
Summary:
fixes https://github.com/facebook/rocksdb/issues/11220
fixes https://github.com/facebook/rocksdb/issues/11594

CXX is not initialized early enough in Makefile.
On OpenBSD its value is `g++` at first, and this results in several `command not found`, notably during the tests for HAVE_POWER8 and HAS_ALTIVEC which results in the build problem mentionned in https://github.com/facebook/rocksdb/issues/11594

reordering the Makefile fixes the issue, by placing the creation of make_config.mk and its import before any use of `$(CXX)`

Also, fixes the platofrm version for macos. it must be 10.14 now that rocksdb is using the C++17 standard

Pull Request resolved: https://github.com/facebook/rocksdb/pull/11675

Reviewed By: cbi42

Differential Revision: D48101615

Pulled By: ajkr

fbshipit-source-id: 1f1b4d4604480b31675140b92c6fe97dc55b8c75
2023-08-11 10:59:49 -07:00
..
ubuntu20_image
amalgamate.py
benchmark_log_tool.py
build_detect_platform fix CXX not initialized early enough in Makefile on openbsd + platform version 10.14 on macos (#11675) 2023-08-11 10:59:49 -07:00
check-sources.sh
dependencies_platform010.sh
dockerbuild.sh
error_filter.py
fb_compile_mongo.sh
fbcode_config.sh Simplify detection of x86 CPU features (#11419) 2023-05-09 22:25:45 -07:00
fbcode_config_platform010.sh Simplify detection of x86 CPU features (#11419) 2023-05-09 22:25:45 -07:00
format-diff.sh
gnu_parallel
make_package.sh
ps_with_stack
regression_build_test.sh Backport an internal change to regression_build_test.sh (#11319) 2023-03-22 13:33:50 -07:00
run_ci_db_test.ps1
setup_centos7.sh
update_dependencies.sh Remove platform009 and default to platform010 (#11333) 2023-03-30 09:56:37 -07:00
version.sh