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 Add OpenSSL to docker image (#10741) 2022-09-26 17:36:57 -07:00
amalgamate.py Enable BLACK for internal_repo_rocksdb (#10710) 2022-09-20 17:47:52 -07:00
benchmark_log_tool.py Fix lint issues after enable BLACK (#10717) 2022-09-21 13:37:51 -07:00
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 Fix bad include (#10213) 2022-06-20 17:42:01 -07:00
dependencies_platform010.sh Upgrade development environment. (#9843) 2022-04-15 16:05:38 -07:00
dockerbuild.sh Add copyright headers per FB open-source checkup tool. (#5199) 2019-04-18 10:55:01 -07:00
error_filter.py Enable BLACK for internal_repo_rocksdb (#10710) 2022-09-20 17:47:52 -07:00
fb_compile_mongo.sh Add copyright headers per FB open-source checkup tool. (#5199) 2019-04-18 10:55:01 -07:00
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 Remove Travis CI (#10407) 2022-07-22 20:16:45 -07:00
gnu_parallel Print stack traces on frozen tests in CI (#10828) 2022-10-18 00:35:35 -07:00
make_package.sh Use standard variables for installing/uninstalling with make (#7187) 2020-08-28 14:47:31 -07:00
ps_with_stack Print stack traces on frozen tests in CI (#10828) 2022-10-18 00:35:35 -07:00
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 Fix remaining uses of "backupable" (#9792) 2022-04-05 09:52:33 -07:00
setup_centos7.sh Adding new build script for CentOS 7 (#6617) 2020-04-06 16:20:27 -07:00
update_dependencies.sh Remove platform009 and default to platform010 (#11333) 2023-03-30 09:56:37 -07:00
version.sh Add copyright headers per FB open-source checkup tool. (#5199) 2019-04-18 10:55:01 -07:00