Skip to content

Commit

Permalink
[build] Remove DART_IN_CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jslee02 committed Jun 30, 2024
1 parent b956bde commit cf20b0e
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 13 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/publish_dartpy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,6 @@ jobs:
if: ${{ matrix.os != 'windows-latest' && (matrix.release_only == false || github.ref == 'refs/heads/main') }}
uses: pypa/cibuildwheel@v2.19.1
env:
# Common
DART_IN_CI: ON

# macOS
MACOSX_DEPLOYMENT_TARGET: 14.0

Expand All @@ -140,9 +137,6 @@ jobs:
if: ${{ matrix.os == 'windows-latest' && (matrix.release_only == false || github.ref == 'refs/heads/main') }}
uses: pypa/cibuildwheel@v2.19.1
env:
# Common
DART_IN_CI: ON

# macOS
MACOSX_DEPLOYMENT_TARGET: 14.0

Expand Down
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ dart_option(DART_FAST_DEBUG "Add -O1 option for DEBUG mode build" OFF)
dart_option(DART_FORCE_COLORED_OUTPUT
"Always produce ANSI-colored output (GNU/Clang only)." OFF)
dart_option(DART_USE_SYSTEM_IMGUI "Use system ImGui" OFF)
dart_option(DART_IN_CI "Indicate building DART as part of CI" OFF)

#===============================================================================
# Print intro
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ skip = [

[tool.cibuildwheel.linux]
archs = ["x86_64"]
environment-pass = ["DART_IN_CI"]

[tool.cibuildwheel.macos]
archs = ["auto64"] # TODO: Add universal2 and arm64
Expand Down
1 change: 0 additions & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@ cmake .. \
-DDART_VERBOSE=ON \
-DDART_TREAT_WARNINGS_AS_ERRORS=ON \
-DDART_CODECOV=$CODECOV \
-DDART_IN_CI=$IN_CI \
-DDART_ENABLE_SIMD=$ENABLE_SIMD \
${install_prefix_option} \
${cmake_args}
Expand Down
4 changes: 0 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,6 @@ def build_extension(self, ext: CMakeExtension) -> None:

cmake_args += ["-DDART_USE_SYSTEM_IMGUI=OFF"]

cmake_args += [
f"-DDART_IN_CI={os.environ.get('DART_IN_CI', 'OFF')}",
]

build_temp = Path(self.build_temp) / ext.name
if not build_temp.exists():
build_temp.mkdir(parents=True)
Expand Down

0 comments on commit cf20b0e

Please sign in to comment.