mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-26 07:30:54 +00:00
fe9a344c55
Summary: some Makefile refactoring to support Meta-internal workflows, and add a basic crash_test flow to CircleCI Pull Request resolved: https://github.com/facebook/rocksdb/pull/9702 Test Plan: CI Reviewed By: riversand963 Differential Revision: D34934315 Pulled By: pdillinger fbshipit-source-id: 67f17280096d8968d8e44459293f72fb6fe339f3
10 lines
214 B
Makefile
10 lines
214 B
Makefile
ifndef PYTHON
|
|
|
|
# Default to python3. Some distros like CentOS 8 do not have `python`.
|
|
ifeq ($(origin PYTHON), undefined)
|
|
PYTHON := $(shell which python3 || which python || echo python3)
|
|
endif
|
|
export PYTHON
|
|
|
|
endif
|