Skip to content

Commit

Permalink
try 16
Browse files Browse the repository at this point in the history
  • Loading branch information
loriab committed Jan 12, 2024
1 parent 9e2fdc9 commit 2aa8d3d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/ci_cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
matrix:
build_type : [ Release, Debug ]
os : [ macos-latest, ubuntu-20.04 ]
#os : [ ubuntu-20.04 ]
subproject : [ ON, OFF ]
exclude:
- build_type: Release
Expand Down Expand Up @@ -87,8 +86,6 @@ jobs:

- name: Create Build Environment
if: ${{ steps.skip_check.outputs.should_skip != 'true' }}
# Some projects don't allow in-source building, so create a separate build directory
# We'll use this as our working directory for all subsequent commands
run: |
cmake -E make_directory ${{github.workspace}}/build/compiler
cmake -E make_directory ${{github.workspace}}/build/library
Expand Down Expand Up @@ -228,6 +225,10 @@ jobs:
steps:
# Note we're not checking out the repo. All src from Linux tarball generated above.

- uses: actions/download-artifact@v3
with:
name: Linux-g++-10

- name: Write a Conda Env File
shell: bash -l {0}
run: |
Expand Down Expand Up @@ -280,10 +281,6 @@ jobs:
with:
arch: x64

- uses: actions/download-artifact@v3
with:
name: Linux-g++-10

- name: Extract, Build, Install Libint Library
shell: bash -l {0}
run: |
Expand Down
9 changes: 7 additions & 2 deletions python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ else()
endif()
cmake_policy(SET CMP0079 NEW)

project(libint2-python)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../cmake/modules)
include(int_computed) # for version for setup.py

project(
libint2-python
VERSION ${LIBINT_VERSION}
)

if (NOT TARGET Python::Module)
find_package(Python COMPONENTS Interpreter Development REQUIRED)
Expand Down Expand Up @@ -56,7 +62,6 @@ if (pybind11_VERSION VERSION_GREATER_EQUAL 2.7.0)
target_compile_definitions(libint2-python PRIVATE NDEBUG=1)
endif()

message("QQQQ CMAKE_CXX_COMPILER_ID ${CMAKE_CXX_COMPILER_ID}")
target_compile_options(libint2-python
PRIVATE
#$<$<BOOL:${MSVC}>:/W4>
Expand Down

0 comments on commit 2aa8d3d

Please sign in to comment.